1
1
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:
Josh Komoroske 2022-08-03 23:52:06 -04:00 committed by GitHub
parent 3e066944ec
commit ba2afe8263
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -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"]