Fix controller group in Alpine

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2021-02-07 18:47:52 +02:00
parent e1ee5104e3
commit a24cabb4b9
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ COPY --from=builder /workspace/source-controller /usr/local/bin/
# https://github.com/gliderlabs/docker-alpine/issues/367#issuecomment-354316460
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
RUN addgroup -S controller && adduser -S -g controller controller
RUN addgroup -S controller && adduser -S controller -G controller
USER controller