Skip to content

Commit

Permalink
adding fn user
Browse files Browse the repository at this point in the history
  • Loading branch information
denismakogon committed Jun 5, 2019
1 parent 9e01a06 commit 78c25b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion images/1/alpine/runtime/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ FROM alpine:3.8
RUN apk update && apk upgrade \
&& apk add ca-certificates \
&& rm -rf /var/cache/apk/*

RUN addgroup -g 1000 -S fn && adduser -S -u 1000 -G fn fn
3 changes: 2 additions & 1 deletion images/1/stretch/runtime/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM debian:stretch-slim

RUN apt-get update && apt-get upgrade -qy
RUN apt-get update && apt-get upgrade -qy && apt-get clean
RUN addgroup --system --gid 1000 --system fn && adduser --system --uid 1000 --ingroup fn fn

0 comments on commit 78c25b7

Please sign in to comment.