Skip to content

Commit

Permalink
Merge pull request #308 from TheQue42/master
Browse files Browse the repository at this point in the history
Add CAP_BPF capability for non-root usage
  • Loading branch information
lmangani authored Oct 24, 2024
2 parents b07e42d + 1121ce4 commit 42a6ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/heplify/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ FROM alpine:3.19
RUN apk --no-cache add ca-certificates tzdata libcap
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /heplify/heplify .
RUN /usr/sbin/setcap cap_net_raw,cap_net_admin=eip heplify
RUN /usr/sbin/setcap cap_bpf,cap_net_raw,cap_net_admin=eip heplify
CMD ["./heplify", "-h"]

0 comments on commit 42a6ef9

Please sign in to comment.