php-worker: move clean up step to right palce (#2315)
This commit is contained in:
parent
8f6fa0e868
commit
54a29b178a
@ -130,10 +130,6 @@ RUN if [ ${INSTALL_GMP} = true ]; then \
|
|||||||
&& docker-php-ext-install gmp \
|
&& docker-php-ext-install gmp \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
|
||||||
RUN rm /var/cache/apk/* \
|
|
||||||
&& mkdir -p /var/www
|
|
||||||
|
|
||||||
# Install Redis package:
|
# Install Redis package:
|
||||||
ARG INSTALL_REDIS=false
|
ARG INSTALL_REDIS=false
|
||||||
RUN if [ ${INSTALL_REDIS} = true ]; then \
|
RUN if [ ${INSTALL_REDIS} = true ]; then \
|
||||||
@ -213,4 +209,8 @@ RUN php -v | head -n 1 | grep -q "PHP ${PHP_VERSION}."
|
|||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Clean up
|
||||||
|
RUN rm /var/cache/apk/* \
|
||||||
|
&& mkdir -p /var/www
|
||||||
|
|
||||||
WORKDIR /etc/supervisor/conf.d/
|
WORKDIR /etc/supervisor/conf.d/
|
||||||
|
Loading…
Reference in New Issue
Block a user