Skip to content

Commit 42a6ef9

Browse files
authored
Merge pull request #308 from TheQue42/master
Add CAP_BPF capability for non-root usage
2 parents b07e42d + 1121ce4 commit 42a6ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/heplify/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ FROM alpine:3.19
1313
RUN apk --no-cache add ca-certificates tzdata libcap
1414
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
1515
COPY --from=builder /heplify/heplify .
16-
RUN /usr/sbin/setcap cap_net_raw,cap_net_admin=eip heplify
16+
RUN /usr/sbin/setcap cap_bpf,cap_net_raw,cap_net_admin=eip heplify
1717
CMD ["./heplify", "-h"]

0 commit comments

Comments
 (0)