Skip to content

Commit

Permalink
Refactor Dockerfile to globally disable the update-notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ImBIOS committed Sep 20, 2024
1 parent b41d042 commit 666e863
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bun-node-puppeteer-chrome/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ RUN apt-get update \
&& echo '{ "CommandLineFlagSecurityWarningsEnabled": false }' > /etc/opt/chrome/policies/managed/managed_policies.json \
&& echo '{ "ComponentUpdatesEnabled": false }' > /etc/opt/chrome/policies/managed/component_update.json \
\
# Globally disable the update-notifier.
&& npm config --global set update-notifier false \
# Cleanup
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /src/*.deb \
Expand Down

0 comments on commit 666e863

Please sign in to comment.