From daabd9c126882a66e4663d4f0250cd107005512e Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Thu, 15 May 2025 01:54:46 +0000 Subject: [PATCH] 24.03-lts-sp1 update dotnet-runtime to 9.0.5 --- .../9.0.5/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.5/24.03-lts-sp1/Dockerfile diff --git a/Others/dotnet-runtime/9.0.5/24.03-lts-sp1/Dockerfile b/Others/dotnet-runtime/9.0.5/24.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..102f2b36 --- /dev/null +++ b/Others/dotnet-runtime/9.0.5/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.5 + +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 fac93d38..a253b3de 100644 --- a/Others/dotnet-runtime/meta.yml +++ b/Others/dotnet-runtime/meta.yml @@ -23,4 +23,6 @@ 9.0.1-oe2203sp1: path: 9.0.1/22.03-lts-sp1/Dockerfile 9.0.3-oe2403lts: - path: Others/dotnet-runtime/9.0.3/24.03-lts/Dockerfile \ No newline at end of file + 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 -- Gitee