From f1ef3b773f3aea74c721b1863081429cc58f17b6 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 24 Sep 2024 07:18:08 +0000 Subject: [PATCH] oe2203sp3 update dotnet-runtime to 8.0.8 --- dotnet-runtime/8.0.8/22.03-lts-sp3/Dockerfile | 26 +++++++++++++++++++ dotnet-runtime/meta.yml | 4 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 dotnet-runtime/8.0.8/22.03-lts-sp3/Dockerfile diff --git a/dotnet-runtime/8.0.8/22.03-lts-sp3/Dockerfile b/dotnet-runtime/8.0.8/22.03-lts-sp3/Dockerfile new file mode 100644 index 00000000..6d077a24 --- /dev/null +++ b/dotnet-runtime/8.0.8/22.03-lts-sp3/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp3 +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=8.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/dotnet-runtime/meta.yml b/dotnet-runtime/meta.yml index cbac1ae7..9f1b948e 100644 --- a/dotnet-runtime/meta.yml +++ b/dotnet-runtime/meta.yml @@ -1,2 +1,4 @@ 8.0.3-oe2203sp3: - path: dotnet-runtime/8.0.3/22.03-lts-sp3/Dockerfile \ No newline at end of file + path: dotnet-runtime/8.0.3/22.03-lts-sp3/Dockerfile +8.0.8-oe2203sp3: + path: dotnet-runtime/8.0.8/22.03-lts-sp3/Dockerfile \ No newline at end of file -- Gitee