Merge pull request #307 from styfle/patch-3

Add group & user in alpine to match wheezy
This commit is contained in:
Laurent Goderre 2017-03-28 08:41:17 -04:00 committed by GitHub
commit 1538344c06
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ FROM alpine:3.4
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 0.0.0
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 \