-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
1 changed file
with
6 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
FROM php:7.0 | ||
FROM php:7.4 | ||
|
||
MAINTAINER Jakub Zalas <[email protected]> | ||
|
||
RUN buildDeps="zlib1g-dev libicu-dev" \ | ||
&& apt-get update && apt-get install --no-install-recommends -y git libicu52 $buildDeps && rm -r /var/lib/apt/lists/* \ | ||
&& docker-php-ext-install intl zip pcntl mbstring bcmath \ | ||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false $buildDeps | ||
RUN buildDeps="zlib1g-dev libzip-dev libonig-dev" \ | ||
&& apt-get update && apt-get install --no-install-recommends -y git $buildDeps && rm -r /var/lib/apt/lists/* \ | ||
&& docker-php-ext-install zip pcntl mbstring bcmath \ | ||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false | ||
|
||
RUN echo "date.timezone=UTC" >> $PHP_INI_DIR/php.ini \ | ||
&& echo "error_reporting=E_ALL" >> $PHP_INI_DIR/php.ini | ||
|
||
RUN php -r "readfile('https://getcomposer.org/installer');" | php -- --install-dir=/usr/local/bin --filename=composer | ||
COPY --from=composer:1.9 /usr/bin/composer /usr/bin/composer | ||
|
||
VOLUME ["/root/.composer/cache"] |