mirror of
https://github.com/joshdk/drone-skip-pipeline
synced 2024-11-22 13:41:57 +01:00
fix: reset user id (#14)
This commit is contained in:
parent
3e066944ec
commit
ba2afe8263
@ -72,8 +72,4 @@ COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certifica
|
||||
COPY README.md /
|
||||
COPY --from=upx /bin/drone-skip-pipeline /bin/drone-skip-pipeline
|
||||
|
||||
# Switch to a non-root user. Arbitrarily, use the same uid/gid as the "nobody"
|
||||
# user from Alpine.
|
||||
USER 65534:65534
|
||||
|
||||
ENTRYPOINT ["/bin/drone-skip-pipeline"]
|
||||
|
Loading…
Reference in New Issue
Block a user