diff --git a/dotnet-runtime/8.0.10/20.03-lts-sp4/Dockerfile b/dotnet-runtime/8.0.10/20.03-lts-sp4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..b502aea38916b57a7df6fc42c32dca591c05a6eb --- /dev/null +++ b/dotnet-runtime/8.0.10/20.03-lts-sp4/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/openeuler:20.03-lts-sp4 +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=8.0.10 + +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 9f1b948e8b5c7306932740fadbe0939b98ba36e8..fbeb4307d4a21f97a4abb3d6e768a8411fa352a4 100644 --- a/dotnet-runtime/meta.yml +++ b/dotnet-runtime/meta.yml @@ -1,4 +1,6 @@ 8.0.3-oe2203sp3: 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 + path: dotnet-runtime/8.0.8/22.03-lts-sp3/Dockerfile +8.0.10-oe2203sp3: + path: /dotnet-runtime/8.0.10/20.03-lts-sp4/Dockerfile \ No newline at end of file