File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1+ ARG DOTNET_VERSION=9.0
2+
13# ### BUILD MAIN IMAGE START ###
2- FROM ubuntu
4+ FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION}
35
46ENV JACRED_HOME=/home/jacred
57ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
@@ -9,9 +11,12 @@ COPY ./privoxy.config /etc/privoxy/config
911
1012COPY ./install.sh /
1113COPY ./update.sh /
14+ COPY ./entrypoint.sh /
1215
1316RUN sh /install.sh
1417
18+ RUN chmod +x /entrypoint.sh
19+
1520WORKDIR /home/jacred
1621
1722RUN crontab Data/crontab
Original file line number Diff line number Diff line change 11#! /bin/sh
2- systemctl start tor
32systemctl enable tor
4- systemctl start privoxy
3+ systemctl start tor
4+
55systemctl enable privoxy
6+ systemctl start privoxy
67
7- dotnet JacRed.dll || exit 1
8+ systemctl enable jacred
9+ systemctl start jacred
810
911crond -f -l 8
Original file line number Diff line number Diff line change @@ -5,11 +5,6 @@ DEST="/home/jacred"
55# sudo su -
66apt update && apt install -y wget unzip
77
8- # Install .NET
9- wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && chmod 755 dotnet-install.sh
10- ./dotnet-install.sh --channel 9.0 --install-dir /usr/share/dotnet
11- ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
12-
138# Download zip
149mkdir $DEST -p && cd $DEST
1510wget https://github.com/immisterio/jacred-fdb/releases/latest/download/publish.zip
You can’t perform that action at this time.
0 commit comments