Skip to content

Commit 50dc684

Browse files
authored
Merge pull request #6 from FortnoxAB/curantes-distroless-nonroot
Switch to distroless image and don't run as root
2 parents 8323e6f + 7f85de5 commit 50dc684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.8
2-
RUN apk add --no-cache ca-certificates
1+
FROM gcr.io/distroless/static-debian11:nonroot
32
COPY bitbucket-slack-bot /
3+
USER nonroot
44
ENTRYPOINT ["/bitbucket-slack-bot"]

0 commit comments

Comments
 (0)