Skip to content

Commit

Permalink
Merge pull request #36 from deyaeddin/dev-01
Browse files Browse the repository at this point in the history
fix: allow docker user listing to 443
  • Loading branch information
deyaeddin authored May 19, 2021
2 parents 5691401 + bca50d8 commit aef595a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

FROM golang:1.16-alpine AS build_deps

RUN apk add --no-cache git
Expand All @@ -20,5 +21,8 @@ FROM alpine:3.13.5
RUN apk add --no-cache ca-certificates

COPY --from=build /workspace/webhook /usr/local/bin/webhook
RUN apk add libcap && setcap 'cap_net_bind_service=+ep' /usr/local/bin/webhook

USER 1001

ENTRYPOINT ["webhook"]

0 comments on commit aef595a

Please sign in to comment.