Skip to content

Commit 01adb06

Browse files
committed
Update Dockerfile
1 parent 392921f commit 01adb06

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
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

46
ENV JACRED_HOME=/home/jacred
57
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false

install.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ DEST="/home/jacred"
55
# sudo su -
66
apt 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
149
mkdir $DEST -p && cd $DEST
1510
wget https://github.com/immisterio/jacred-fdb/releases/latest/download/publish.zip

0 commit comments

Comments
 (0)