diff --git a/.env.example b/.env.example index 0c27f7c..1b396ce 100644 --- a/.env.example +++ b/.env.example @@ -99,7 +99,7 @@ SHELL_OH_MY_ZSH_ALIASES=false WORKSPACE_BASE_IMAGE_TAG_PREFIX=latest WORKSPACE_COMPOSER_GLOBAL_INSTALL=true WORKSPACE_COMPOSER_VERSION=2 -WORKSPACE_COMPOSER_AUTH=false +WORKSPACE_COMPOSER_AUTH_JSON=false WORKSPACE_COMPOSER_REPO_PACKAGIST= WORKSPACE_NVM_NODEJS_ORG_MIRROR= WORKSPACE_INSTALL_NODE=true diff --git a/docker-compose.yml b/docker-compose.yml index 696884d..70cef48 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -111,7 +111,7 @@ services: - INSTALL_V8JS=${WORKSPACE_INSTALL_V8JS} - COMPOSER_GLOBAL_INSTALL=${WORKSPACE_COMPOSER_GLOBAL_INSTALL} - COMPOSER_VERSION=${WORKSPACE_COMPOSER_VERSION} - - COMPOSER_AUTH=${WORKSPACE_COMPOSER_AUTH} + - COMPOSER_AUTH_JSON=${WORKSPACE_COMPOSER_AUTH_JSON} - COMPOSER_REPO_PACKAGIST=${WORKSPACE_COMPOSER_REPO_PACKAGIST} - INSTALL_WORKSPACE_SSH=${WORKSPACE_INSTALL_WORKSPACE_SSH} - INSTALL_LARAVEL_ENVOY=${WORKSPACE_INSTALL_LARAVEL_ENVOY} diff --git a/workspace/Dockerfile b/workspace/Dockerfile index afc9495..a67bc20 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -159,10 +159,10 @@ RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \ ;fi # Check if auth file is disabled -ARG COMPOSER_AUTH=false -ENV COMPOSER_AUTH ${COMPOSER_AUTH} +ARG COMPOSER_AUTH_JSON=false +ENV COMPOSER_AUTH_JSON ${COMPOSER_AUTH_JSON} -RUN if [ ${COMPOSER_AUTH} = false ]; then \ +RUN if [ ${COMPOSER_AUTH_JSON} = false ]; then \ # remove the file rm /home/laradock/.composer/auth.json \ ;fi @@ -305,7 +305,7 @@ RUN set -eux; \ # SMB: ########################################################################### if [ ${INSTALL_SMB} = true ]; then \ - apt-get install -yqq smbclient php-smbclient coreutils; \ + apt-get install -yqq smbclient php${LARADOCK_PHP_VERSION}-smbclient coreutils; \ fi; \ ########################################################################### # IMAP: