File tree Expand file tree Collapse file tree 3 files changed +20
-6
lines changed Expand file tree Collapse file tree 3 files changed +20
-6
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}
5+
6+ ENV JACRED_HOME=/home/jacred
7+ ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
38
49RUN apt update && apt -y install curl systemd tor tor-geoipdb privoxy
510COPY ./privoxy.config /etc/privoxy/config
611
712COPY ./install.sh /
813COPY ./update.sh /
14+ COPY ./entrypoint.sh /
915
1016RUN sh /install.sh
1117
18+ RUN chmod +x /entrypoint.sh
19+
1220WORKDIR /home/jacred
1321
1422RUN crontab Data/crontab
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ systemctl enable tor
3+ systemctl start tor
4+
5+ systemctl enable privoxy
6+ systemctl start privoxy
7+
8+ systemctl enable jacred
9+ systemctl start jacred
10+
11+ crond -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