diff --git a/opensnitch/Dockerfile b/opensnitch/Dockerfile index 601c480..fb43b91 100644 --- a/opensnitch/Dockerfile +++ b/opensnitch/Dockerfile @@ -11,4 +11,14 @@ # 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"]