From 422ff478be7cd5e8ba924a0cd03c2e5f075a2d58 Mon Sep 17 00:00:00 2001 From: dimon Date: Tue, 1 Mar 2022 08:24:58 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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