diff --git a/dotnet-runtime/9.0.0/22.03-lts-sp1/Dockerfile b/dotnet-runtime/9.0.0/22.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..e7f398bbb271d04718c69216984f332de474b411 --- /dev/null +++ b/dotnet-runtime/9.0.0/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.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/dotnet-runtime/9.0.0/22.03-lts-sp3/Dockerfile b/dotnet-runtime/9.0.0/22.03-lts-sp3/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..16e2d02fb6852818ccbb2666e191e55e5f64b7db --- /dev/null +++ b/dotnet-runtime/9.0.0/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.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/dotnet-runtime/9.0.0/22.03-lts-sp4/Dockerfile b/dotnet-runtime/9.0.0/22.03-lts-sp4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..f2098de68330e31d8b4f394f8e43b01eb654bb33 --- /dev/null +++ b/dotnet-runtime/9.0.0/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.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/dotnet-runtime/9.0.0/24.03-lts/Dockerfile b/dotnet-runtime/9.0.0/24.03-lts/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..9363e19d77faa12c208d4abf2e41d4f69dc539bb --- /dev/null +++ b/dotnet-runtime/9.0.0/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.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/dotnet-runtime/meta.yml b/dotnet-runtime/meta.yml index 27a1296676cde3a6231309df49e446c623d81627..28d28f9057ee154b73c030229eab0a2b63f99bfe 100644 --- a/dotnet-runtime/meta.yml +++ b/dotnet-runtime/meta.yml @@ -11,4 +11,12 @@ 8.0.10-oe2203sp1: path: dotnet-runtime/8.0.10/22.03-lts-sp1/Dockerfile 8.0.10-oe2003sp4: - path: dotnet-runtime/8.0.10/20.03-lts-sp4/Dockerfile \ No newline at end of file + path: dotnet-runtime/8.0.10/20.03-lts-sp4/Dockerfile +9.0.0-oe2403lts: + path: dotnet-runtime/9.0.0/24.03-lts/Dockerfile +9.0.0-oe2203sp3: + path: dotnet-runtime/9.0.0/22.03-lts-sp3/Dockerfile +9.0.0-oe2203sp4: + path: dotnet-runtime/9.0.0/22.03-lts-sp4/Dockerfile +9.0.0-oe2203sp1: + path: dotnet-runtime/9.0.0/22.03-lts-sp1/Dockerfile \ No newline at end of file