Skip to content

Commit 1538344

Browse files
Merge pull request #307 from styfle/patch-3
Add group & user in alpine to match wheezy
2 parents c5a0423 + 1df84b7 commit 1538344

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile-alpine.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ FROM alpine:3.4
33
ENV NPM_CONFIG_LOGLEVEL info
44
ENV NODE_VERSION 0.0.0
55

6-
RUN adduser -D -u 1000 node \
6+
RUN addgroup -g 1000 node \
7+
&& adduser -u 1000 -G node -s /bin/sh -D node \
78
&& apk add --no-cache \
89
libstdc++ \
910
&& apk add --no-cache --virtual .build-deps \

0 commit comments

Comments
 (0)