Skip to content

Commit a24cabb

Browse files
committed
Fix controller group in Alpine
Signed-off-by: Stefan Prodan <[email protected]>
1 parent e1ee510 commit a24cabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ COPY --from=builder /workspace/source-controller /usr/local/bin/
4444
# https://github.com/gliderlabs/docker-alpine/issues/367#issuecomment-354316460
4545
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
4646

47-
RUN addgroup -S controller && adduser -S -g controller controller
47+
RUN addgroup -S controller && adduser -S controller -G controller
4848

4949
USER controller
5050

0 commit comments

Comments
 (0)