- Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathdebian-arm64.dockerfile
17 lines (14 loc) · 722 Bytes
/
debian-arm64.dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM mcr.microsoft.com/dotnet/sdk:9.0.203-bookworm-slim@sha256:9b0a4330cb3dac23ebd6df76ab4211ec5903907ad2c1ccde16a010bf25f8dfde
RUN apt-get update && \
apt-get install -y \
cmake \
clang \
make
# Install older sdks using the install script as there are no arm64 SDK packages.
RUN curl -sSL https://dot.net/v1/dotnet-install.sh --output dotnet-install.sh \
&& echo "SHA256: $(sha256sum dotnet-install.sh)" \
&& echo "19b0a7890c371201b944bf0f8cdbb6460d053d63ddbea18cfed3e4199769ce17 dotnet-install.sh" | sha256sum -c \
&& chmod +x ./dotnet-install.sh \
&& ./dotnet-install.sh -v 8.0.408 --install-dir /usr/share/dotnet --no-path \
&& rm dotnet-install.sh
WORKDIR /project