diff --git a/dotnet-runtime/9.0.2/22.03-lts-sp1/Dockerfile b/dotnet-runtime/9.0.2/22.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..f57c744730f85a0f22420c2e0935cdd614caacbc --- /dev/null +++ b/dotnet-runtime/9.0.2/22.03-lts-sp1/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp1 +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=9.0.2 + +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/9.0.2/22.03-lts-sp3/Dockerfile b/dotnet-runtime/9.0.2/22.03-lts-sp3/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..190ee9430bf78969cadbbcbba3f53799ab10cdec --- /dev/null +++ b/dotnet-runtime/9.0.2/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=9.0.2 + +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/9.0.2/22.03-lts-sp4/Dockerfile b/dotnet-runtime/9.0.2/22.03-lts-sp4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..1f5e1199f46a4cb1047a050830fc256afec1d4ee --- /dev/null +++ b/dotnet-runtime/9.0.2/22.03-lts-sp4/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp4 +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=9.0.2 + +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/9.0.2/24.03-lts/Dockerfile b/dotnet-runtime/9.0.2/24.03-lts/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..a4d51c17e4ded9c8c0ba013a8668752837941500 --- /dev/null +++ b/dotnet-runtime/9.0.2/24.03-lts/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/openeuler:24.03-lts +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=9.0.2 + +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 32a81069a4a9cae3f44854c2cbd8e357ccb2587a..212de977f590bd49c6ce0375d9cb3e185396acf3 100644 --- a/dotnet-runtime/meta.yml +++ b/dotnet-runtime/meta.yml @@ -21,4 +21,12 @@ 9.0.1-oe2203sp4: path: dotnet-runtime/9.0.1/22.03-lts-sp4/Dockerfile 9.0.1-oe2203sp1: - path: dotnet-runtime/9.0.1/22.03-lts-sp1/Dockerfile \ No newline at end of file + path: dotnet-runtime/9.0.1/22.03-lts-sp1/Dockerfile +9.0.2-oe2403lts: + path: dotnet-runtime/9.0.2/24.03-lts/Dockerfile +9.0.2-oe2203sp3: + path: dotnet-runtime/9.0.2/22.03-lts-sp3/Dockerfile +9.0.2-oe2203sp4: + path: dotnet-runtime/9.0.2/22.03-lts-sp4/Dockerfile +9.0.2-oe2203sp1: + path: dotnet-runtime/9.0.2/22.03-lts-sp1/Dockerfile