-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe56c1f
commit 009bf7c
Showing
6 changed files
with
39 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
ARG PHP_VERSION=8.2 | ||
FROM composer:2 AS composer | ||
|
||
FROM php:latest | ||
FROM php:${PHP_VERSION} | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y libzip-dev zlib1g-dev zlib1g-dev zip git libfcgi-bin jq librabbitmq-dev libpng-dev libonig-dev unzip \ | ||
&& apt-get install -y libzip-dev zlib1g-dev zlib1g-dev zip git libfcgi-bin jq libpng-dev libonig-dev unzip \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/list/* \ | ||
&& docker-php-ext-install pdo_mysql bcmath gd mysqli \ | ||
&& docker-php-ext-configure bcmath --enable-bcmath \ | ||
&& docker-php-ext-configure zip | ||
&& pecl install xdebug \ | ||
&& docker-php-ext-enable xdebug | ||
|
||
COPY --from=composer /usr/bin/composer /usr/bin/composer | ||
COPY --from=composer /usr/bin/composer /usr/bin/composer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters