File tree 5 files changed +9
-9
lines changed
5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM ortools/cmake:almalinux_swig AS env
5
5
RUN wget -q "https://dot.net/v1/dotnet-install.sh" \
6
6
&& chmod a+x dotnet-install.sh \
7
7
&& ./dotnet-install.sh -c 3.1 -i /usr/local/bin \
8
- && ./dotnet-install.sh -c 6 .0 -i /usr/local/bin
8
+ && ./dotnet-install.sh -c 8 .0 -i /usr/local/bin
9
9
# Trigger first run experience by running arbitrary cmd
10
10
RUN dotnet --info
11
11
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ RUN apk add --no-cache wget icu-libs libintl \
5
5
&& mkdir -p /usr/share/dotnet \
6
6
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
7
7
8
- # # .Net 6 .0
9
- # # see: https://dotnet.microsoft.com/download/dotnet-core/6 .0
10
- RUN dotnet_sdk_version=6 .0.405 \
8
+ # # .Net 8 .0
9
+ # # see: https://dotnet.microsoft.com/download/dotnet-core/8 .0
10
+ RUN dotnet_sdk_version=8 .0.408 \
11
11
&& wget -qO dotnet.tar.gz \
12
12
"https://dotnetcli.azureedge.net/dotnet/Sdk/$dotnet_sdk_version/dotnet-sdk-${dotnet_sdk_version}-linux-musl-x64.tar.gz" \
13
- && dotnet_sha512='ca98ebc5858339c5ce4164f5f5932a5bf8aae9f13d54adf382a41f5e6d1302df278bd7e218ecc2f651dcf67e705c40c43347cd33956732c6bd88d3b3d2881b84 ' \
13
+ && dotnet_sha512='0ab0c0d52985bde69b594454b5e1d9e1a6e003159656ee2972058d2960cfb0968dbe4d470d8eb21dcea41ff594976520e189a8e13afc44a419ca08e456df36e1 ' \
14
14
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
15
15
&& tar -C /usr/share/dotnet -oxzf dotnet.tar.gz \
16
16
&& rm dotnet.tar.gz
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ RUN apt-get update -qq \
7
7
&& dpkg -i packages-microsoft-prod.deb \
8
8
&& rm packages-microsoft-prod.deb \
9
9
&& apt-get update -qq \
10
- && apt-get install -yq dotnet-sdk-6 .0 \
10
+ && apt-get install -yq dotnet-sdk-8 .0 \
11
11
&& apt-get clean \
12
12
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
13
13
# Trigger first run experience by running arbitrary cmd
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ FROM ortools/cmake:opensuse_swig AS env
5
5
RUN zypper refresh \
6
6
&& zypper install -y wget tar awk gzip libicu-devel
7
7
8
- # # .Net 6 .0
8
+ # # .Net 8 .0
9
9
# see: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
10
10
RUN wget -q "https://dot.net/v1/dotnet-install.sh" \
11
11
&& chmod a+x dotnet-install.sh \
12
- && ./dotnet-install.sh -c 6 .0 -i /usr/local/bin
12
+ && ./dotnet-install.sh -c 8 .0 -i /usr/local/bin
13
13
# Trigger first run experience by running arbitrary cmd
14
14
RUN dotnet --info
15
15
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM ortools/cmake:rockylinux_swig AS env
5
5
RUN wget -q "https://dot.net/v1/dotnet-install.sh" \
6
6
&& chmod a+x dotnet-install.sh \
7
7
&& ./dotnet-install.sh -c 3.1 -i /usr/local/bin \
8
- && ./dotnet-install.sh -c 6 .0 -i /usr/local/bin
8
+ && ./dotnet-install.sh -c 8 .0 -i /usr/local/bin
9
9
# Trigger first run experience by running arbitrary cmd
10
10
RUN dotnet --info
11
11
You can’t perform that action at this time.
0 commit comments