Stop npm from warning about version staleness

This commit is contained in:
David Boreham 2023-04-14 20:58:43 -06:00
parent f16e8d8e3e
commit d366468206
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ ARG CERC_NPM_AUTH_TOKEN
# Add NPM global to PATH.
ENV PATH=${NPM_GLOBAL}/bin:${PATH}
# Prevents npm from printing version warnings
ENV NO_UPDATE_NOTIFIER=true
RUN \
# Configure global npm install location, use group to adapt to UID/GID changes

View File

@ -12,6 +12,8 @@ ARG CERC_NPM_AUTH_TOKEN
# Add NPM global to PATH.
ENV PATH=${NPM_GLOBAL}/bin:${PATH}
# Prevents npm from printing version warnings
ENV NO_UPDATE_NOTIFIER=true
RUN \
# Configure global npm install location, use group to adapt to UID/GID changes