File tree Expand file tree Collapse file tree 5 files changed +11
-17
lines changed Expand file tree Collapse file tree 5 files changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ RUN apt-get update -qq \
6
6
&& dpkg -i packages-microsoft-prod.deb \
7
7
&& rm packages-microsoft-prod.deb \
8
8
&& apt-get update -qq \
9
- && apt-get install -yq dotnet-sdk-6 .0 \
9
+ && apt-get install -yq dotnet-sdk-8 .0 \
10
10
&& apt-get clean \
11
11
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
12
12
# Trigger first run experience by running arbitrary cmd
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM ortools/make:fedora_swig AS env
2
2
3
3
# see: https://docs.microsoft.com/en-us/dotnet/core/install/linux-fedora
4
4
RUN dnf -y update \
5
- && dnf -y install dotnet-sdk-6 .0 \
5
+ && dnf -y install dotnet-sdk-8 .0 \
6
6
&& dnf clean all
7
7
# Trigger first run experience by running arbitrary cmd
8
8
RUN dotnet --info
Original file line number Diff line number Diff line change 1
1
FROM ortools/make:opensuse_swig AS env
2
2
3
- # Install .Net
3
+ # .NET install
4
4
# see: https://docs.microsoft.com/en-us/dotnet/core/install/linux-opensuse
5
5
RUN zypper refresh \
6
- && zypper install -y wget tar gzip libicu-devel
7
- RUN mkdir -p /usr/share/dotnet \
8
- && ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
6
+ && zypper install -y wget tar awk gzip libicu-devel findutils
9
7
10
- # # .Net 6.0
11
- # # see: https://dotnet.microsoft.com/download/dotnet-core/6.0
12
- RUN dotnet_sdk_version=6.0.100 \
13
- && wget -qO dotnet.tar.gz \
14
- "https://dotnetcli.azureedge.net/dotnet/Sdk/${dotnet_sdk_version}/dotnet-sdk-${dotnet_sdk_version}-linux-x64.tar.gz" \
15
- && dotnet_sha512='cb0d174a79d6294c302261b645dba6a479da8f7cf6c1fe15ae6998bc09c5e0baec810822f9e0104e84b0efd51fdc0333306cb2a0a6fcdbaf515a8ad8cf1af25b' \
16
- && echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
17
- && tar -C /usr/share/dotnet -oxzf dotnet.tar.gz \
18
- && rm dotnet.tar.gz
8
+ # # .Net 8.0
9
+ # see: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
10
+ RUN wget -q "https://dot.net/v1/dotnet-install.sh" \
11
+ && chmod a+x dotnet-install.sh \
12
+ && ./dotnet-install.sh -c 8.0 -i /usr/local/bin
19
13
# Trigger first run experience by running arbitrary cmd
20
14
RUN dotnet --info
21
15
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ CMD ["/usr/bin/bash"]
25
25
RUN wget -q "https://dot.net/v1/dotnet-install.sh" \
26
26
&& chmod a+x dotnet-install.sh \
27
27
&& ./dotnet-install.sh -c 3.1 -i /usr/local/bin \
28
- && ./dotnet-install.sh -c 6 .0 -i /usr/local/bin
28
+ && ./dotnet-install.sh -c 8 .0 -i /usr/local/bin
29
29
# Trigger first run experience by running arbitrary cmd
30
30
RUN dotnet --info
31
31
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ CMD ["/usr/bin/bash"]
28
28
RUN wget -q "https://dot.net/v1/dotnet-install.sh" \
29
29
&& chmod a+x dotnet-install.sh \
30
30
&& ./dotnet-install.sh -c 3.1 -i /usr/local/bin \
31
- && ./dotnet-install.sh -c 6 .0 -i /usr/local/bin
31
+ && ./dotnet-install.sh -c 8 .0 -i /usr/local/bin
32
32
# Trigger first run experience by running arbitrary cmd
33
33
# RUN objdump -p /lib64/libstdc++.so.6
34
34
# RUN g++ --version
You can’t perform that action at this time.
0 commit comments