Skip to content
Snippets Groups Projects
Commit 4ac782e5 authored by scott.eppler's avatar scott.eppler Committed by Alex Ellis
Browse files

Update WebhookStash sample-function to run as non-root user

parent e4da7de6
No related branches found
No related tags found
No related merge requests found
......@@ -20,4 +20,7 @@ RUN chmod +x /usr/bin/fwatchdog
COPY --from=builder /go/bin/WebhookStash /usr/bin/WebhookStash
ENV fprocess "/usr/bin/WebhookStash"
RUN addgroup -g 1000 -S app && adduser -u 1000 -S app -G app
USER 1000
CMD ["/usr/bin/fwatchdog"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment