Skip to content

Commit b0c8df4

Browse files
committed
Fix disabling npm update check
1 parent a19a787 commit b0c8df4

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

alpine/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ USER node
1010

1111
# Disable npm update check
1212
ENV NO_UPDATE_NOTIFIER true
13+
ENV npm_config_update_notifier false
1314

1415
WORKDIR /app

android-arm64/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ ENV GYP_DEFINES target_arch=arm64 android_target_arch=arm64 host_os=linux OS=and
3030

3131
# Disable npm update check
3232
ENV NO_UPDATE_NOTIFIER true
33+
ENV npm_config_update_notifier false
3334

3435
# Set inherited dockcross labels to empty values.
3536
# Labels can't be deleted (https://github.com/moby/moby/issues/3465)

android-armv7/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ ENV GYP_DEFINES target_arch=arm android_target_arch=arm host_os=linux OS=android
3030

3131
# Disable npm update check
3232
ENV NO_UPDATE_NOTIFIER true
33+
ENV npm_config_update_notifier false
3334

3435
# Set inherited dockcross labels to empty values.
3536
# Labels can't be deleted (https://github.com/moby/moby/issues/3465)

centos7-devtoolset7/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ USER node
1717

1818
# Disable npm update check
1919
ENV NO_UPDATE_NOTIFIER true
20+
ENV npm_config_update_notifier false
2021

2122
WORKDIR /app

linux-arm64/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ ENV TARGET_PLATFORM ${PREBUILD_PLATFORM}
2828

2929
# Disable npm update check
3030
ENV NO_UPDATE_NOTIFIER true
31+
ENV npm_config_update_notifier false
3132

3233
# Set inherited dockcross labels to empty values.
3334
# Labels can't be deleted (https://github.com/moby/moby/issues/3465)

linux-armv6/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ ENV TARGET_PLATFORM ${PREBUILD_PLATFORM}
2828

2929
# Disable npm update check
3030
ENV NO_UPDATE_NOTIFIER true
31+
ENV npm_config_update_notifier false
3132

3233
# Set inherited dockcross labels to empty values.
3334
# Labels can't be deleted (https://github.com/moby/moby/issues/3465)

linux-armv7/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ ENV TARGET_PLATFORM ${PREBUILD_PLATFORM}
2828

2929
# Disable npm update check
3030
ENV NO_UPDATE_NOTIFIER true
31+
ENV npm_config_update_notifier false
3132

3233
# Set inherited dockcross labels to empty values.
3334
# Labels can't be deleted (https://github.com/moby/moby/issues/3465)

0 commit comments

Comments
 (0)