Added ARG INSTALL_MEMCACHED as suggested by Allen.

This commit is contained in:
Saqib S 2021-04-05 18:26:49 +05:00
parent e13482195b
commit aa7a0e9a34
1 changed files with 3 additions and 1 deletions

View File

@ -1225,7 +1225,9 @@ RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
# Memcached Dependecies: # Memcached Dependecies:
########################################################################### ###########################################################################
RUN if [ ${WORKSPACE_INSTALL_MEMCACHED} = true ]; then \ ARG INSTALL_MEMCACHED=false
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
apt-get -y install php${LARADOCK_PHP_VERSION}-igbinary \ apt-get -y install php${LARADOCK_PHP_VERSION}-igbinary \
&& apt-get -y install php${LARADOCK_PHP_VERSION}-memcached \ && apt-get -y install php${LARADOCK_PHP_VERSION}-memcached \
;fi ;fi