diff --git a/dockerfile b/dockerfile index 9642f84..42aebe4 100644 --- a/dockerfile +++ b/dockerfile @@ -1,3 +1,10 @@ FROM ubuntu-base:1.7.1 EXPOSE 9050 -CMD "tor" \ No newline at end of file +CMD /home/start.sh + +ADD https://git.dfosd.synology.me/docker/ubuntu-tor/raw/branch/master/start.sh /home/start.sh +RUN chmod +x /home/start.sh + +ADD https://git.dfosd.synology.me/docker/ubuntu-tor/raw/branch/master/setup_tor.sh /setup_tor.sh +RUN chmod +x /setup_tor.sh +RUN /setup_tor.sh \ No newline at end of file