diff --git a/docker-compose.yml b/docker-compose.yml index 3fadfdae..93cf6c18 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -168,6 +168,7 @@ services: - INSTALL_PHPDECIMAL=${WORKSPACE_INSTALL_PHPDECIMAL} - PROTOC_VERSION=${WORKSPACE_PROTOC_VERSION} - INSTALL_DOCKER_CLIENT=${WORKSPACE_INSTALL_DOCKER_CLIENT} + - INSTALL_MEMCACHED=${WORKSPACE_INSTALL_MEMCACHED} - http_proxy - https_proxy - no_proxy diff --git a/env-example b/env-example index 9b71f674..39242cd5 100644 --- a/env-example +++ b/env-example @@ -199,6 +199,7 @@ WORKSPACE_INSTALL_LNAV=false WORKSPACE_INSTALL_PROTOC=false WORKSPACE_INSTALL_PHPDECIMAL=false WORKSPACE_PROTOC_VERSION=latest +WORKSPACE_INSTALL_MEMCACHED=true ### PHP_FPM ############################################### diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 04221f67..cceb0c57 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -1225,7 +1225,7 @@ RUN if [ ${INSTALL_TERRAFORM} = true ]; then \ # Memcached Dependecies: ########################################################################### -RUN if [ ${PHP_FPM_INSTALL_MEMCACHED} = true ]; then \ +RUN if [ ${WORKSPACE_INSTALL_MEMCACHED} = true ]; then \ apt-get -y install php${LARADOCK_PHP_VERSION}-igbinary \ && apt-get -y install php${LARADOCK_PHP_VERSION}-memcached \ ;fi