Skip to content

Commit a5141d8

Browse files
Updated the alpine images with the new group and user
Completes #307 and partially replaces #369
1 parent 1538344 commit a5141d8

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

4.8/alpine/Dockerfile

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 4.8.1
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 \

6.10/alpine/Dockerfile

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 6.10.1
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 \

7.7/alpine/Dockerfile

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 7.7.4
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)