fix(docker): non-root user (#186)
This commit is contained in:
parent
08405c0c90
commit
8b03229a19
@ -4,4 +4,7 @@ RUN apk add --no-cache gcompat libstdc++
|
|||||||
|
|
||||||
COPY --chmod=755 ./linux-x64-release/gsc-tool /usr/local/bin/
|
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"]
|
ENTRYPOINT ["/usr/local/bin/gsc-tool"]
|
||||||
|
Loading…
Reference in New Issue
Block a user