add opensnitch

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2017-11-08 13:16:51 -05:00
parent 64ea668765
commit 4617918cbd
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e "DISPLAY=unix${DISPLAY}" \
# --net host \
# --cap-add NET_ADMIN \
# --name opensnitch \
# r.j3ss.co/opensnitch
#

View File

@ -2,11 +2,13 @@
# docker run -d \
# --name=opensnitchd \
# --net host \
# --cap-add NET_ADMIN \
# r.j3ss.co/opensnitchd
#
FROM alpine:latest
RUN apk add --no-cache \
iptables \
libcap \
libnetfilter_queue \
libnfnetlink \
@ -17,6 +19,7 @@ RUN apk add --no-cache \
tcpdump \
--repository https://dl-3.alpinelinux.org/alpine/edge/testing
ENV XTABLES_LIBDIR "/usr/lib/xtables"
ENV OPENSNITCH_VERSION master
RUN buildDeps=' \
@ -40,4 +43,4 @@ RUN buildDeps=' \
&& apk del $buildDeps \
&& echo "Build complete."
CMD ["/usr/bin/opensnitchd"]
ENTRYPOINT ["/usr/bin/opensnitchd", "--debug"]