File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:22 .04
1+ FROM ubuntu:24 .04
22
33ENV PATH=$PATH:/root/.dotnet
44
55RUN apt-get update \
66 && apt-get dist-upgrade -y \
77 && apt-get upgrade -y \
8- && apt-get install ca-certificates libc6 libgcc-s1 libgssapi-krb5-2 libicu70 liblttng-ust1 libssl3 libstdc++6 libunwind8 tzdata wget zlib1g -y \
8+ && apt-get install -y \
9+ ca-certificates \
10+ libc6 \
11+ libgcc-s1 \
12+ libgssapi-krb5-2 \
13+ liblttng-ust1 \
14+ libssl3 \
15+ libstdc++6 \
16+ libunwind8 \
17+ tzdata \
18+ wget \
19+ zlib1g \
20+ && wget http://se.archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu70_70.1-2_amd64.deb \
21+ && dpkg -i libicu70_70.1-2_amd64.deb \
22+ && rm -f libicu70_70.1-2_amd64.deb \
923 && wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
1024 && dpkg -i packages-microsoft-prod.deb \
1125 && rm packages-microsoft-prod.deb \
1226 && apt-get update \
1327 && wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh \
1428 && chmod +x ./dotnet-install.sh \
29+ && ./dotnet-install.sh --channel 10.0 \
1530 && ./dotnet-install.sh --channel 9.0 \
1631 && ./dotnet-install.sh --channel 8.0 \
1732 && ./dotnet-install.sh --channel 7.0 \
1833 && ./dotnet-install.sh --channel 6.0 \
1934 && ./dotnet-install.sh --channel 5.0 \
2035 && ./dotnet-install.sh --channel 3.1 \
2136 && ./dotnet-install.sh --channel 3.0 \
22- && apt-get remove wget -y
37+ && apt-get remove wget -y \
38+ && rm -f dotnet-install.sh \
39+ && apt-get autoremove -y \
40+ && apt-get clean -y \
41+ && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments