From b38ac6674553b70fd35b240dee51255010cd5e01 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 16 Jul 2024 02:28:49 +0000 Subject: [PATCH] oe2203sp3 update dotnet-runtime to 8.0.7 --- dotnet-runtime/8.0.7/22.03-lts-sp3/Dockerfile | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dotnet-runtime/8.0.7/22.03-lts-sp3/Dockerfile diff --git a/dotnet-runtime/8.0.7/22.03-lts-sp3/Dockerfile b/dotnet-runtime/8.0.7/22.03-lts-sp3/Dockerfile new file mode 100644 index 00000000..9811eabf --- /dev/null +++ b/dotnet-runtime/8.0.7/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.7 + +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" ] -- Gitee