We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8edc43 commit d0b634bCopy full SHA for d0b634b
src/javascript-node/Dockerfile
@@ -2,6 +2,12 @@
2
ARG VARIANT=16-bullseye
3
FROM node:${VARIANT}
4
5
+ARG USERNAME=node
6
+
7
+# Install eslint
8
+RUN su ${USERNAME} -c "umask 0002 && npm install -g eslint" \
9
+ && npm cache clean --force > /dev/null 2>&1
10
11
# [Optional] Uncomment this section to install additional OS packages.
12
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
13
# && apt-get -y install --no-install-recommends <your-package-list-here>
0 commit comments