Skip to content

Commit dc79b51

Browse files
committed
docker images
1 parent 0bb43ae commit dc79b51

File tree

5 files changed

+19
-10
lines changed

5 files changed

+19
-10
lines changed

docker/alpine.dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
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
22
RUN 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

1515
ENV IsAlpine=true
1616
ENV 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
2222
RUN 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

docker/centos-stream9.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN dnf install -y \
77
COPY ./scripts/dotnet-install.sh ./dotnet-install.sh
88

99
RUN 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

docker/debian-arm64.dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM 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
33
RUN 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.
1212
RUN 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

docker/debian.dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM 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

34
RUN 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+
1319
WORKDIR /project

docker/ubuntu1604.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
3434
COPY ./scripts/dotnet-install.sh ./dotnet-install.sh
3535

3636
RUN 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

4040
WORKDIR /project

0 commit comments

Comments
 (0)