You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-06-03 16:35:37 +02:00
Revert rootful agent images again (#4683)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
-2
@@ -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