fix build arg [NVM_NODEJS_ORG_MIRROR] not consumed warning (#2411)
This commit is contained in:
parent
42c580af1f
commit
3889363443
|
@ -614,7 +614,8 @@ ARG INSTALL_NPM_ANGULAR_CLI=false
|
||||||
ARG NPM_REGISTRY
|
ARG NPM_REGISTRY
|
||||||
ENV NPM_REGISTRY ${NPM_REGISTRY}
|
ENV NPM_REGISTRY ${NPM_REGISTRY}
|
||||||
ENV NVM_DIR /home/laradock/.nvm
|
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 \
|
RUN if [ ${INSTALL_NODE} = true ]; then \
|
||||||
# Install nvm (A Node Version Manager)
|
# Install nvm (A Node Version Manager)
|
||||||
|
|
Loading…
Reference in New Issue