mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-18 06:57:17 +00:00
Revert rootful
agent images again (#4683)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
@@ -21,7 +21,5 @@ EXPOSE 3000
|
||||
|
||||
COPY --from=build /src/dist/woodpecker-agent /bin/
|
||||
|
||||
USER woodpecker
|
||||
|
||||
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]
|
||||
ENTRYPOINT ["/bin/woodpecker-agent"]
|
@@ -26,7 +26,5 @@ COPY --from=build /etc/woodpecker /etc
|
||||
COPY --from=build /etc/passwd /etc/passwd
|
||||
COPY --from=build /etc/group /etc/group
|
||||
|
||||
USER woodpecker
|
||||
|
||||
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]
|
||||
ENTRYPOINT ["/bin/woodpecker-agent"]
|
Reference in New Issue
Block a user