mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-04-25 21:25:40 +02:00
add opensnitch
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
64ea668765
commit
4617918cbd
@ -4,6 +4,7 @@
|
|||||||
# -v /tmp/.X11-unix:/tmp/.X11-unix \
|
# -v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
# -e "DISPLAY=unix${DISPLAY}" \
|
# -e "DISPLAY=unix${DISPLAY}" \
|
||||||
# --net host \
|
# --net host \
|
||||||
|
# --cap-add NET_ADMIN \
|
||||||
# --name opensnitch \
|
# --name opensnitch \
|
||||||
# r.j3ss.co/opensnitch
|
# r.j3ss.co/opensnitch
|
||||||
#
|
#
|
||||||
|
@ -2,11 +2,13 @@
|
|||||||
# docker run -d \
|
# docker run -d \
|
||||||
# --name=opensnitchd \
|
# --name=opensnitchd \
|
||||||
# --net host \
|
# --net host \
|
||||||
|
# --cap-add NET_ADMIN \
|
||||||
# r.j3ss.co/opensnitchd
|
# r.j3ss.co/opensnitchd
|
||||||
#
|
#
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
|
iptables \
|
||||||
libcap \
|
libcap \
|
||||||
libnetfilter_queue \
|
libnetfilter_queue \
|
||||||
libnfnetlink \
|
libnfnetlink \
|
||||||
@ -17,6 +19,7 @@ RUN apk add --no-cache \
|
|||||||
tcpdump \
|
tcpdump \
|
||||||
--repository https://dl-3.alpinelinux.org/alpine/edge/testing
|
--repository https://dl-3.alpinelinux.org/alpine/edge/testing
|
||||||
|
|
||||||
|
ENV XTABLES_LIBDIR "/usr/lib/xtables"
|
||||||
ENV OPENSNITCH_VERSION master
|
ENV OPENSNITCH_VERSION master
|
||||||
|
|
||||||
RUN buildDeps=' \
|
RUN buildDeps=' \
|
||||||
@ -40,4 +43,4 @@ RUN buildDeps=' \
|
|||||||
&& apk del $buildDeps \
|
&& apk del $buildDeps \
|
||||||
&& echo "Build complete."
|
&& echo "Build complete."
|
||||||
|
|
||||||
CMD ["/usr/bin/opensnitchd"]
|
ENTRYPOINT ["/usr/bin/opensnitchd", "--debug"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user