From 4ade16cbba4097a2a2ae9ef9f887506db180f19a Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Sun, 17 Aug 2025 01:15:41 +0000 Subject: [PATCH] 24.03-lts-sp1 update dotnet-runtime to 9.0.8 --- .../9.0.8/24.03-lts-sp1/Dockerfile | 26 +++++++++++++++++++ Others/dotnet-runtime/meta.yml | 4 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 Others/dotnet-runtime/9.0.8/24.03-lts-sp1/Dockerfile diff --git a/Others/dotnet-runtime/9.0.8/24.03-lts-sp1/Dockerfile b/Others/dotnet-runtime/9.0.8/24.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..9029446d --- /dev/null +++ b/Others/dotnet-runtime/9.0.8/24.03-lts-sp1/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=9.0.8 + +ENV ASPNETCORE_URLS=http://+:8080 \ + DOTNET_RUNNING_IN_CONTAINER=true \ + DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true + +RUN if [ "$TARGETARCH" = "amd64" ]; then \ + BUILDARCH="x64"; \ + elif [ "$TARGETARCH" = "arm64" ]; then \ + BUILDARCH="arm64"; \ + fi && \ + curl -fSL -o dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Runtime/${VERSION}/dotnet-runtime-${VERSION}-linux-${BUILDARCH}.tar.gz && \ + mkdir -p /dotnet && tar -zxvf dotnet.tar.gz -C /dotnet && \ + mv /dotnet /usr/share/dotnet && \ + rm -f dotnet.tar.gz + +RUN ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet + +ENTRYPOINT [ "dotnet" ] + +CMD [ "--info" ] diff --git a/Others/dotnet-runtime/meta.yml b/Others/dotnet-runtime/meta.yml index a253b3de..8737d84c 100644 --- a/Others/dotnet-runtime/meta.yml +++ b/Others/dotnet-runtime/meta.yml @@ -25,4 +25,6 @@ 9.0.3-oe2403lts: path: Others/dotnet-runtime/9.0.3/24.03-lts/Dockerfile 9.0.5-oe2403sp1: - path: Others/dotnet-runtime/9.0.5/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: Others/dotnet-runtime/9.0.5/24.03-lts-sp1/Dockerfile +9.0.8-oe2403sp1: + path: 9.0.8/24.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee