File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM ortools/cmake:almalinux_swig AS env
55RUN wget -q "https://dot.net/v1/dotnet-install.sh" \
66&& chmod a+x dotnet-install.sh \
77&& ./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
99# Trigger first run experience by running arbitrary cmd
1010RUN dotnet --info
1111
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ RUN apk add --no-cache wget icu-libs libintl \
55&& mkdir -p /usr/share/dotnet \
66&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
77
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 \
1111&& wget -qO dotnet.tar.gz \
1212"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 ' \
1414&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
1515&& tar -C /usr/share/dotnet -oxzf dotnet.tar.gz \
1616&& rm dotnet.tar.gz
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ RUN apt-get update -qq \
77&& dpkg -i packages-microsoft-prod.deb \
88&& rm packages-microsoft-prod.deb \
99&& apt-get update -qq \
10- && apt-get install -yq dotnet-sdk-6 .0 \
10+ && apt-get install -yq dotnet-sdk-8 .0 \
1111&& apt-get clean \
1212&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1313# 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
55RUN zypper refresh \
66&& zypper install -y wget tar awk gzip libicu-devel
77
8- # # .Net 6 .0
8+ # # .Net 8 .0
99# see: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
1010RUN wget -q "https://dot.net/v1/dotnet-install.sh" \
1111&& 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
1313# Trigger first run experience by running arbitrary cmd
1414RUN dotnet --info
1515
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM ortools/cmake:rockylinux_swig AS env
55RUN wget -q "https://dot.net/v1/dotnet-install.sh" \
66&& chmod a+x dotnet-install.sh \
77&& ./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
99# Trigger first run experience by running arbitrary cmd
1010RUN dotnet --info
1111
You can’t perform that action at this time.
0 commit comments