mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 12:23:35 +01:00
2381609397
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
25 lines
547 B
Docker
25 lines
547 B
Docker
# Usage:
|
|
# docker run -d \
|
|
# -v /etc/localtime:/etc/localtime:ro \
|
|
# -v /tmp/.X11-unix:/tmp/.X11-unix \
|
|
# -e "DISPLAY=unix${DISPLAY}" \
|
|
# -v /usr/share/X11:/usr/share/X11:ro \
|
|
# --net host \
|
|
# --cap-add NET_ADMIN \
|
|
# --name opensnitch \
|
|
# r.j3ss.co/opensnitch
|
|
#
|
|
FROM r.j3ss.co/opensnitchd:latest
|
|
|
|
ENV HOME /home/user
|
|
RUN useradd --create-home --home-dir $HOME user \
|
|
&& mkdir -p $HOME/.cache/dconf \
|
|
&& mkdir -p $HOME/.dbus \
|
|
&& chown -R user:user $HOME
|
|
|
|
WORKDIR $HOME
|
|
|
|
USER user
|
|
|
|
ENTRYPOINT ["/usr/local/bin/opensnitch-qt", "--debug"]
|