Skip to content

Commit

Permalink
Added the default user
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentGoderre committed Nov 9, 2016
1 parent cc132d1 commit 1e6fcb9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion 4.6/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ FROM alpine:3.4
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 4.6.2

RUN apk add --no-cache \
RUN addgroup -S node \
&& adduser -D -S -h /var/cache/node -s /sbin/nologin -G node node \
&& apk add --no-cache \
libstdc++ \
&& apk add --no-cache --virtual .build-deps \
binutils-gold \
Expand Down
4 changes: 3 additions & 1 deletion 6.9/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ FROM alpine:3.4
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 6.9.1

RUN apk add --no-cache \
RUN addgroup -S node \
&& adduser -D -S -h /var/cache/node -s /sbin/nologin -G node node \
&& apk add --no-cache \
libstdc++ \
&& apk add --no-cache --virtual .build-deps \
binutils-gold \
Expand Down
4 changes: 3 additions & 1 deletion 7.0/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ FROM alpine:3.4
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 7.0.0

RUN apk add --no-cache \
RUN addgroup -S node \
&& adduser -D -S -h /var/cache/node -s /sbin/nologin -G node node \
&& apk add --no-cache \
libstdc++ \
&& apk add --no-cache --virtual .build-deps \
binutils-gold \
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile-alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ FROM alpine:3.4
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 0.0.0

RUN apk add --no-cache \
RUN addgroup -S node \
&& adduser -D -S -h /var/cache/node -s /sbin/nologin -G node node \
&& apk add --no-cache \
libstdc++ \
&& apk add --no-cache --virtual .build-deps \
binutils-gold \
Expand Down

0 comments on commit 1e6fcb9

Please sign in to comment.