From 606810e99bb0405de1034b79c719f000de2057d4 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 22 Jun 2020 23:38:29 +0200 Subject: [PATCH] Remove gettext extension from Docker image (fixes #290) And only install production dependencies --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 949dd54..5cef839 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,13 @@ FROM php:7.3-apache RUN apt-get update -RUN apt-get install -y libicu-dev xz-utils git zlib1g-dev python libgmp-dev gettext libzip-dev +RUN apt-get install -y libicu-dev xz-utils git zlib1g-dev python libgmp-dev libzip-dev RUN docker-php-ext-install mbstring RUN docker-php-ext-install intl RUN docker-php-ext-install zip RUN docker-php-ext-install gmp -RUN docker-php-ext-install gettext RUN a2enmod rewrite RUN curl -sS https://getcomposer.org/installer | php COPY resources/php.ini /usr/local/etc/php/ COPY . /var/www/html/ -RUN php composer.phar install --prefer-dist --no-progress +RUN php composer.phar install --prefer-dist --no-progress --no-dev --optimize-autoloader ENV CONVERT=1