We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21965b3 commit 29cbef1Copy full SHA for 29cbef1
Dockerfile
@@ -1,6 +1,9 @@
1
# ### BUILD MAIN IMAGE START ###
2
FROM ubuntu
3
4
+ENV JACRED_HOME=/home/jacred
5
+ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
6
+
7
RUN apt update && apt -y install curl systemd tor tor-geoipdb privoxy
8
COPY ./privoxy.config /etc/privoxy/config
9
@@ -17,5 +20,5 @@ EXPOSE 9117
17
20
18
21
VOLUME [ "/home/jacred/init.conf", "/home/jacred/Data" ]
19
22
-ENTRYPOINT ["/lib/systemd/systemd"]
23
+ENTRYPOINT ["/entrypoint.sh"]
24
### BUILD MAIN IMAGE end ###
entrypoint.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+systemctl start tor
+systemctl enable tor
+systemctl start privoxy
+systemctl enable privoxy
+dotnet JacRed.dll || exit 1
+crond -f -l 8
0 commit comments