Skip to content

Commit

Permalink
Fix user group for dockerfile
Browse files Browse the repository at this point in the history
This fixes dockerfile template to set app group properly. Fixes
[openfaas#41](openfaas#41). Before
used to add GEO data for user, after the change adds group to user

Signed-off-by: Ivana Yovcheva (VMware) <[email protected]>
  • Loading branch information
ivanayov committed Jul 9, 2018
1 parent f7ad0d2 commit 7a848da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/dockerfile/function/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apk --no-cache add curl \

# Add non root user

RUN addgroup -S app && adduser -S -g app app
RUN addgroup -S app && adduser app -S -G app

RUN chown app /home/app

Expand Down

0 comments on commit 7a848da

Please sign in to comment.