user opensnitch

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2017-11-08 16:04:13 -05:00
parent 072ca0636b
commit 2381609397
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -11,4 +11,14 @@
# #
FROM r.j3ss.co/opensnitchd:latest 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"] ENTRYPOINT ["/usr/local/bin/opensnitch-qt", "--debug"]