Skip to content

Commit 7a848da

Browse files
committed
Fix user group for dockerfile
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]>
1 parent f7ad0d2 commit 7a848da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/dockerfile/function/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN apk --no-cache add curl \
1818

1919
# Add non root user
2020

21-
RUN addgroup -S app && adduser -S -g app app
21+
RUN addgroup -S app && adduser app -S -G app
2222

2323
RUN chown app /home/app
2424

0 commit comments

Comments
 (0)