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
[#41](#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 authored and alexellis committed Jul 24, 2018
1 parent 52619d2 commit 2b46a3e
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 2b46a3e

Please sign in to comment.