From 3889363443104ef7ef7fe89f96fde09e89164ae5 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Fri, 6 Dec 2019 20:43:59 +0800 Subject: [PATCH] fix build arg [NVM_NODEJS_ORG_MIRROR] not consumed warning (#2411) --- workspace/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 02fe4bd3..e83c434f 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -614,7 +614,8 @@ ARG INSTALL_NPM_ANGULAR_CLI=false ARG NPM_REGISTRY ENV NPM_REGISTRY ${NPM_REGISTRY} ENV NVM_DIR /home/laradock/.nvm -ENV NVM_NODEJS_ORG_MIRROR=${NVM_NODEJS_ORG_MIRROR} +ARG NVM_NODEJS_ORG_MIRROR +ENV NVM_NODEJS_ORG_MIRROR ${NVM_NODEJS_ORG_MIRROR} RUN if [ ${INSTALL_NODE} = true ]; then \ # Install nvm (A Node Version Manager)