File tree Expand file tree Collapse file tree 5 files changed +19
-10
lines changed
Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:9 .0.303- alpine3.21 @sha256:2fe880002c458a6e95a3f8bb38b63c0f2e21ffefcb01c0223c4408cc91ad7d9d
1+ FROM mcr.microsoft.com/dotnet/sdk:10 .0.100-preview.6- alpine3.22 @sha256:23018e4f0740faf8ce5086e69ef5ce84da3fc5c7e2311966963f912917ccbbea
22RUN apk update \
33 && apk upgrade \
44 && apk add --no-cache --update \
5- clang=19 .1.4 -r0 \
6- cmake=3.31.1-r0 \
7- make=4.4.1-r2 \
5+ clang=20 .1.8 -r0 \
6+ cmake=3.31.7-r1 \
7+ make=4.4.1-r3 \
88 bash=5.2.37-r0 \
99 alpine-sdk=1.1-r0 \
10- protobuf=24 .4-r4 \
11- protobuf-dev=24 .4-r4 \
12- grpc=1.62.1-r2 \
13- grpc-plugins=1.62.1-r2
10+ protobuf=29 .4-r0 \
11+ protobuf-dev=29 .4-r0 \
12+ grpc=1.72.0-r0 \
13+ grpc-plugins=1.72.0-r0
1414
1515ENV IsAlpine=true
1616ENV PROTOBUF_PROTOC=/usr/bin/protoc
@@ -20,6 +20,7 @@ COPY ./scripts/dotnet-install.sh ./dotnet-install.sh
2020
2121# Install older SDKs using the install script
2222RUN chmod +x ./dotnet-install.sh \
23+ && ./dotnet-install.sh -v 9.0.303 --install-dir /usr/share/dotnet --no-path \
2324 && ./dotnet-install.sh -v 8.0.412 --install-dir /usr/share/dotnet --no-path \
2425 && rm dotnet-install.sh
2526
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN dnf install -y \
77COPY ./scripts/dotnet-install.sh ./dotnet-install.sh
88
99RUN chmod +x ./dotnet-install.sh \
10+ && ./dotnet-install.sh -v 10.0.100-preview.6.25358.103 --install-dir /usr/share/dotnet --no-path \
1011 && ./dotnet-install.sh -v 9.0.303 --install-dir /usr/share/dotnet --no-path \
1112 && ./dotnet-install.sh -v 8.0.412 --install-dir /usr/share/dotnet --no-path \
1213 && rm dotnet-install.sh
Original file line number Diff line number Diff line change 11FROM mcr.microsoft.com/dotnet/sdk:9.0.303-bookworm-slim@sha256:86fe223b90220ec8607652914b1d7dc56fc8ff422ca1240bb81e54c4b06509e6
2-
2+ # TODO convert to newer Debian image when available, for now .NET SD 10 installed via dotnet-install
33RUN apt-get update && \
44 apt-get install -y \
55 cmake \
@@ -10,6 +10,7 @@ COPY ./scripts/dotnet-install.sh ./dotnet-install.sh
1010
1111# Install older SDKs using the install script as there are no arm64 SDK packages.
1212RUN chmod +x ./dotnet-install.sh \
13+ && ./dotnet-install.sh -v 10.0.100-preview.6.25358.103 --install-dir /usr/share/dotnet --no-path \
1314 && ./dotnet-install.sh -v 8.0.412 --install-dir /usr/share/dotnet --no-path \
1415 && rm dotnet-install.sh
1516
Original file line number Diff line number Diff line change 11FROM mcr.microsoft.com/dotnet/sdk:9.0.303-bookworm-slim@sha256:86fe223b90220ec8607652914b1d7dc56fc8ff422ca1240bb81e54c4b06509e6
2+ # TODO convert to newer Debian image when available, for now .NET SD 10 installed via dotnet-install
23
34RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \
45 dpkg -i packages-microsoft-prod.deb && \
@@ -10,4 +11,9 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod
1011 clang \
1112 make
1213
14+ COPY ./scripts/dotnet-install.sh ./dotnet-install.sh
15+ RUN chmod +x ./dotnet-install.sh \
16+ && ./dotnet-install.sh -v 10.0.100-preview.6.25358.103 --install-dir /usr/share/dotnet --no-path \
17+ && rm dotnet-install.sh
18+
1319WORKDIR /project
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
3434COPY ./scripts/dotnet-install.sh ./dotnet-install.sh
3535
3636RUN chmod +x ./dotnet-install.sh \
37- && ./dotnet-install.sh -v 9 .0.303 --install-dir /usr/share/dotnet --no-path \
37+ && ./dotnet-install.sh -v 10 .0.100-preview.6.25358.103 --install-dir /usr/share/dotnet --no-path \
3838 && rm dotnet-install.sh
3939
4040WORKDIR /project
You can’t perform that action at this time.
0 commit comments