Skip to content

Commit d0b634b

Browse files
committed
Install eslint
1 parent b8edc43 commit d0b634b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/javascript-node/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
ARG VARIANT=16-bullseye
33
FROM node:${VARIANT}
44

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+
511
# [Optional] Uncomment this section to install additional OS packages.
612
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
713
# && apt-get -y install --no-install-recommends <your-package-list-here>

0 commit comments

Comments
 (0)