Skip to content

Commit

Permalink
fix(docker): non-root user (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
xensik committed Jan 20, 2024
1 parent 08405c0 commit 8b03229
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ RUN apk add --no-cache gcompat libstdc++

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

RUN addgroup -S gsc-tool && adduser -S gsc-tool -G gsc-tool
USER gsc-tool

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

0 comments on commit 8b03229

Please sign in to comment.