diff --git a/Dockerfile b/Dockerfile index 0e675b7..e1368ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM php:7.0 +FROM php:7.4 MAINTAINER Jakub Zalas -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"]