Updated the alpine images with the new group and user

Completes #307 and partially replaces #369
This commit is contained in:
Laurent Goderre 2017-03-29 08:32:11 -04:00
parent 1538344c06
commit a5141d8411
3 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,8 @@ FROM alpine:3.4
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 4.8.1
RUN adduser -D -u 1000 node \
RUN addgroup -g 1000 node \
&& adduser -u 1000 -G node -s /bin/sh -D node \
&& apk add --no-cache \
libstdc++ \
&& apk add --no-cache --virtual .build-deps \

View File

@ -3,7 +3,8 @@ FROM alpine:3.4
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 6.10.1
RUN adduser -D -u 1000 node \
RUN addgroup -g 1000 node \
&& adduser -u 1000 -G node -s /bin/sh -D node \
&& apk add --no-cache \
libstdc++ \
&& apk add --no-cache --virtual .build-deps \

View File

@ -3,7 +3,8 @@ FROM alpine:3.4
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 7.7.4
RUN adduser -D -u 1000 node \
RUN addgroup -g 1000 node \
&& adduser -u 1000 -G node -s /bin/sh -D node \
&& apk add --no-cache \
libstdc++ \
&& apk add --no-cache --virtual .build-deps \