Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2017-11-08 13:56:31 -05:00
parent 0b7967588e
commit 3f573a21e7
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,7 @@
# -v /etc/localtime:/etc/localtime:ro \ # -v /etc/localtime:/etc/localtime:ro \
# -v /tmp/.X11-unix:/tmp/.X11-unix \ # -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e "DISPLAY=unix${DISPLAY}" \ # -e "DISPLAY=unix${DISPLAY}" \
# -v /usr/share/X11:/usr/share/X11:ro \
# --net host \ # --net host \
# --cap-add NET_ADMIN \ # --cap-add NET_ADMIN \
# --name opensnitch \ # --name opensnitch \

View File

@ -8,15 +8,16 @@
FROM alpine:latest FROM alpine:latest
RUN apk add --no-cache \ RUN apk add --no-cache \
bash \
iptables \ iptables \
libcap \ libcap \
libnetfilter_queue \ libnetfilter_queue \
libnfnetlink \ libnfnetlink \
python3 \ python3 \
py3-gobject3 \ py3-gobject3 \
py3-inotify \
py3-qt5 \ py3-qt5 \
tcpdump \ tcpdump \
xtables-addons \
--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 XTABLES_LIBDIR "/usr/lib/xtables"
@ -25,11 +26,9 @@ ENV OPENSNITCH_VERSION master
RUN buildDeps=' \ RUN buildDeps=' \
build-base \ build-base \
git \ git \
libc-dev \
libcap-dev \ libcap-dev \
libnetfilter_queue-dev \ libnetfilter_queue-dev \
libnfnetlink-dev \ libnfnetlink-dev \
musl-dev \
python3-dev \ python3-dev \
' \ ' \
set -x \ set -x \