Skip to content

Commit

Permalink
build(docker): fix alpine to ubuntu user (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
xensik authored Mar 16, 2024
1 parent 2c9850c commit c411708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:24.04

COPY --chmod=755 ./linux-x64-release/gsc-tool /usr/local/bin/

RUN addgroup -S gsc-tool && adduser -S gsc-tool -G gsc-tool
RUN groupadd gsc-tool && useradd -r -g gsc-tool gsc-tool
USER gsc-tool

ENTRYPOINT ["/usr/local/bin/gsc-tool"]

0 comments on commit c411708

Please sign in to comment.