Skip to content

Commit e44b75c

Browse files
committed
Disable npm update check
1 parent f345af6 commit e44b75c

File tree

7 files changed

+22
-0
lines changed

7 files changed

+22
-0
lines changed

alpine/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ RUN addgroup -g 2000 travis && \
55
apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python git
66

77
USER node
8+
9+
# Disable npm update check
10+
ENV NO_UPDATE_NOTIFIER true
11+
812
WORKDIR /app

android-arm64/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ ENV TARGET_PLATFORM ${PREBUILD_PLATFORM}
2828

2929
ENV GYP_DEFINES target_arch=arm64 android_target_arch=arm64 host_os=linux OS=android
3030

31+
# Disable npm update check
32+
ENV NO_UPDATE_NOTIFIER true
33+
3134
# Set inherited dockcross labels to empty values.
3235
# Labels can't be deleted (https://github.com/moby/moby/issues/3465)
3336
LABEL org.label-schema.build-date=

android-armv7/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ ENV TARGET_PLATFORM ${PREBUILD_PLATFORM}
2828

2929
ENV GYP_DEFINES target_arch=arm android_target_arch=arm host_os=linux OS=android
3030

31+
# Disable npm update check
32+
ENV NO_UPDATE_NOTIFIER true
33+
3134
# Set inherited dockcross labels to empty values.
3235
# Labels can't be deleted (https://github.com/moby/moby/issues/3465)
3336
LABEL org.label-schema.build-date=

centos7-devtoolset7/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ RUN groupadd -g 1000 node && useradd -g 1000 -u 1000 -m node && \
1010

1111
USER node
1212

13+
# Disable npm update check
14+
ENV NO_UPDATE_NOTIFIER true
15+
1316
WORKDIR /app

linux-arm64/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ ENV ARCH ${PREBUILD_ARCH}
2626
ENV ARM_VERSION ${PREBUILD_ARMV}
2727
ENV TARGET_PLATFORM ${PREBUILD_PLATFORM}
2828

29+
# Disable npm update check
30+
ENV NO_UPDATE_NOTIFIER true
31+
2932
# Set inherited dockcross labels to empty values.
3033
# Labels can't be deleted (https://github.com/moby/moby/issues/3465)
3134
LABEL org.label-schema.build-date=

linux-armv6/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ ENV ARCH ${PREBUILD_ARCH}
2626
ENV ARM_VERSION ${PREBUILD_ARMV}
2727
ENV TARGET_PLATFORM ${PREBUILD_PLATFORM}
2828

29+
# Disable npm update check
30+
ENV NO_UPDATE_NOTIFIER true
31+
2932
# Set inherited dockcross labels to empty values.
3033
# Labels can't be deleted (https://github.com/moby/moby/issues/3465)
3134
LABEL org.label-schema.build-date=

linux-armv7/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ ENV ARCH ${PREBUILD_ARCH}
2626
ENV ARM_VERSION ${PREBUILD_ARMV}
2727
ENV TARGET_PLATFORM ${PREBUILD_PLATFORM}
2828

29+
# Disable npm update check
30+
ENV NO_UPDATE_NOTIFIER true
31+
2932
# Set inherited dockcross labels to empty values.
3033
# Labels can't be deleted (https://github.com/moby/moby/issues/3465)
3134
LABEL org.label-schema.build-date=

0 commit comments

Comments
 (0)