Remove gettext extension from Docker image (fixes #290)
And only install production dependencies
This commit is contained in:
parent
b70a3d0679
commit
606810e99b
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue