diff --git a/docker-compose.yml b/docker-compose.yml index d2995c4..86202e6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -169,6 +169,7 @@ services: - INSTALL_ZOOKEEPER=${WORKSPACE_INSTALL_ZOOKEEPER} - 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 e3093f6..9ae14fc 100644 --- a/env-example +++ b/env-example @@ -200,6 +200,7 @@ WORKSPACE_INSTALL_PROTOC=false WORKSPACE_INSTALL_PHPDECIMAL=false WORKSPACE_INSTALL_ZOOKEEPER=false WORKSPACE_PROTOC_VERSION=latest +WORKSPACE_INSTALL_MEMCACHED=true ### PHP_FPM ############################################### diff --git a/workspace/Dockerfile b/workspace/Dockerfile index fe66298..3532bf5 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -1221,6 +1221,18 @@ RUN if [ ${INSTALL_TERRAFORM} = true ]; then \ && mv terraform /usr/local/bin \ && rm terraform_0.10.6_linux_amd64.zip \ ;fi + +########################################################################### +# Memcached Dependecies: +########################################################################### + +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}-memcached \ +;fi + ########################################################################### # pgsql client ###########################################################################