Skip to content

Commit

Permalink
Set group-ownership of files to 'agones' group.
Browse files Browse the repository at this point in the history
Creating a non-system user named 'agones' also creates a group named
'agones'. For consistency, the files should be owned by that group.

Signed-off-by: Paul "Hampy" Hampson <p_hampson@wargaming.net>
  • Loading branch information
Paul "Hampy" Hampson committed Jan 21, 2020
1 parent d327145 commit b956bf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/sdk-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ FROM alpine:3.11
RUN apk --update add ca-certificates && \
adduser -D -u 1000 agones

COPY --chown=agones:root ./bin/sdk-server.linux.amd64 /home/agones/sdk-server
COPY --chown=agones:root ./bin/LICENSES ./bin/dependencies-src.tgz /home/agones/
COPY --chown=agones:agones ./bin/sdk-server.linux.amd64 /home/agones/sdk-server
COPY --chown=agones:agones ./bin/LICENSES ./bin/dependencies-src.tgz /home/agones/

USER 1000
ENTRYPOINT ["/home/agones/sdk-server"]

0 comments on commit b956bf4

Please sign in to comment.