added zip to php-fpm workspace container (so there is no composer warning) (#1903)
This commit is contained in:

committed by
Shao Yu-Lung (Allen)

parent
ee2db98c61
commit
1282c413fd
@ -38,6 +38,14 @@ RUN apt-get update -yqq && \
|
||||
# to add more Software's or remove existing one, you need to edit the
|
||||
# base image (https://github.com/Laradock/php-fpm).
|
||||
#
|
||||
# next lines are here becase there is no auto build on dockerhub see https://github.com/laradock/laradock/pull/1903#issuecomment-463142846
|
||||
USER root
|
||||
|
||||
RUN apt-get install libzip-dev zip unzip -y && \
|
||||
docker-php-ext-configure zip --with-libzip && \
|
||||
# Install the zip extension
|
||||
docker-php-ext-install zip \
|
||||
|
||||
|
||||
#
|
||||
#--------------------------------------------------------------------------
|
||||
@ -47,7 +55,7 @@ RUN apt-get update -yqq && \
|
||||
# Optional Software's will only be installed if you set them to `true`
|
||||
# in the `docker-compose.yml` before the build.
|
||||
# Example:
|
||||
# - INSTALL_ZIP_ARCHIVE=true
|
||||
# - INSTALL_SOAP=true
|
||||
#
|
||||
|
||||
###########################################################################
|
||||
@ -250,19 +258,6 @@ RUN if [ ${INSTALL_AMQP} = true ]; then \
|
||||
docker-php-ext-install sockets \
|
||||
;fi
|
||||
|
||||
###########################################################################
|
||||
# ZipArchive:
|
||||
###########################################################################
|
||||
|
||||
ARG INSTALL_ZIP_ARCHIVE=false
|
||||
|
||||
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
|
||||
apt-get install libzip-dev -y && \
|
||||
docker-php-ext-configure zip --with-libzip && \
|
||||
# Install the zip extension
|
||||
docker-php-ext-install zip \
|
||||
;fi
|
||||
|
||||
###########################################################################
|
||||
# pcntl
|
||||
###########################################################################
|
||||
|
Reference in New Issue
Block a user