Remove RUN cmds from Dockerfile
This commit is contained in:
@@ -4,14 +4,12 @@ RUN apt-get update && \
|
||||
apt-get install libc-client-dev libzip-dev \
|
||||
zlib1g-dev libicu-dev libpng-dev -y
|
||||
|
||||
RUN docker-php-ext-install zip intl gd
|
||||
|
||||
RUN docker-php-ext-enable zip intl gd opcache
|
||||
|
||||
RUN apt-get purge libc-client-dev libzip-dev \
|
||||
zlib1g-dev libicu-dev libpng-dev -y \
|
||||
&& apt-get clean \
|
||||
&& rm -r /var/lib/apt/lists/*
|
||||
RUN docker-php-ext-install zip intl gd && \
|
||||
docker-php-ext-enable zip intl gd opcache && \
|
||||
apt-get purge libc-client-dev libzip-dev \
|
||||
zlib1g-dev libicu-dev libpng-dev -y && \
|
||||
apt-get clean && \
|
||||
rm -r /var/lib/apt/lists/*
|
||||
|
||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user