From 4fce0687662b5b46b7107e85a01176c9c34b67ba Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Wed, 12 Nov 2025 00:16:09 +0000 Subject: [PATCH] 24.03-lts-sp2 update dotnet-runtime to 10.0.0 --- .../10.0.0/24.03-lts-sp2/Dockerfile | 26 +++++++++++++++++++ Others/dotnet-runtime/README.md | 1 + Others/dotnet-runtime/doc/image-info.yml | 1 + Others/dotnet-runtime/meta.yml | 4 ++- 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 Others/dotnet-runtime/10.0.0/24.03-lts-sp2/Dockerfile diff --git a/Others/dotnet-runtime/10.0.0/24.03-lts-sp2/Dockerfile b/Others/dotnet-runtime/10.0.0/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..6f8fb249 --- /dev/null +++ b/Others/dotnet-runtime/10.0.0/24.03-lts-sp2/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=10.0.0 + +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/README.md b/Others/dotnet-runtime/README.md index 27e1e9d7..b9f221a5 100644 --- a/Others/dotnet-runtime/README.md +++ b/Others/dotnet-runtime/README.md @@ -17,6 +17,7 @@ Learn more about Dotnet Runtime on [learn.microsoft.com](https://learn.microsoft The tag of each `dotnet-runtime` docker image is consist of the version of `dotnet-runtime` and the version of basic image. The details are as follows | Tag | Currently | Architectures | |----------|-------------|------------------| +|[10.0.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dotnet-runtime/10.0.0/24.03-lts-sp2/Dockerfile) | dotnet 10.0.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[8.0.3-oe2203sp3](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dotnet-runtime/8.0.3/22.03-lts-sp3/Dockerfile)| Dotnet-runtime 8.0.3 on openEuler 22.03-LTS-SP3 | amd64, arm64 | |[8.0.7-oe2203sp3](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dotnet-runtime/8.0.7/22.03-lts-sp3/Dockerfile)| Dotnet-runtime 8.0.7 on openEuler 22.03-LTS-SP3 | amd64, arm64 | |[8.0.8-oe2203sp3](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dotnet-runtime/8.0.8/22.03-lts-sp3/Dockerfile)| Dotnet-runtime 8.0.8 on openEuler 22.03-LTS-SP3 | amd64, arm64 | diff --git a/Others/dotnet-runtime/doc/image-info.yml b/Others/dotnet-runtime/doc/image-info.yml index c7c2a2b2..d247ca1b 100644 --- a/Others/dotnet-runtime/doc/image-info.yml +++ b/Others/dotnet-runtime/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[10.0.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dotnet-runtime/10.0.0/24.03-lts-sp2/Dockerfile) | dotnet 10.0.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[8.0.3-oe2203sp3](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dotnet-runtime/8.0.3/22.03-lts-sp3/Dockerfile)| Dotnet-runtime 8.0.3 on openEuler 22.03-LTS-SP3 | amd64, arm64 | |[8.0.7-oe2203sp3](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dotnet-runtime/8.0.7/22.03-lts-sp3/Dockerfile)| Dotnet-runtime 8.0.7 on openEuler 22.03-LTS-SP3 | amd64, arm64 | |[8.0.8-oe2203sp3](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dotnet-runtime/8.0.8/22.03-lts-sp3/Dockerfile)| Dotnet-runtime 8.0.8 on openEuler 22.03-LTS-SP3 | amd64, arm64 | diff --git a/Others/dotnet-runtime/meta.yml b/Others/dotnet-runtime/meta.yml index 8737d84c..1e3ecab1 100644 --- a/Others/dotnet-runtime/meta.yml +++ b/Others/dotnet-runtime/meta.yml @@ -27,4 +27,6 @@ 9.0.5-oe2403sp1: 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 + path: 9.0.8/24.03-lts-sp1/Dockerfile +10.0.0-oe2403sp2: + path: 10.0.0/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee