From 32baf9822a3b8a134f3ea6e84b06f8ca9144996b Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 5 Feb 2025 09:34:58 +0000 Subject: [PATCH 1/4] 24.03-lts update dotnet-aspnet to 9.0.1 --- dotnet-aspnet/9.0.1/24.03-lts/Dockerfile | 31 ++++++++++++++++++++++++ dotnet-aspnet/meta.yml | 4 ++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 dotnet-aspnet/9.0.1/24.03-lts/Dockerfile diff --git a/dotnet-aspnet/9.0.1/24.03-lts/Dockerfile b/dotnet-aspnet/9.0.1/24.03-lts/Dockerfile new file mode 100644 index 00000000..b24279d2 --- /dev/null +++ b/dotnet-aspnet/9.0.1/24.03-lts/Dockerfile @@ -0,0 +1,31 @@ +ARG BASE=openeuler/openeuler:24.03-lts +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=9.0.1 + +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 && \ + yum update -y && yum install -y libicu && yum clean all && \ + curl -fSL -o dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Runtime/${VERSION}/dotnet-runtime-${VERSION}-linux-${BUILDARCH}.tar.gz && \ + curl -fSL -o aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/${VERSION}/aspnetcore-runtime-${VERSION}-linux-${BUILDARCH}.tar.gz && \ + mkdir -p /dotnet-runtime && tar -zxvf dotnet.tar.gz -C /dotnet-runtime && \ + mkdir -p /dotnet-aspnet && tar -oxzf aspnetcore.tar.gz -C /dotnet-aspnet ./shared/Microsoft.AspNetCore.App && \ + mv /dotnet-runtime /usr/share/dotnet && \ + cp -rf /dotnet-aspnet/* /usr/share/dotnet/ && \ + rm -f aspnetcore.tar.gz && rm -rf /dotnet-aspnet && \ + rm -f dotnet.tar.gz + +RUN ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet + +ENTRYPOINT [ "dotnet" ] + +CMD [ "--info" ] diff --git a/dotnet-aspnet/meta.yml b/dotnet-aspnet/meta.yml index a2f2ea6d..34f5636f 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -13,4 +13,6 @@ 8.0.10-oe2203sp4: path: dotnet-aspnet/8.0.10/22.03-lts-sp4/Dockerfile 8.0.10-oe2403lts: - path: dotnet-aspnet/8.0.10/24.03-lts/Dockerfile \ No newline at end of file + path: dotnet-aspnet/8.0.10/24.03-lts/Dockerfile +9.0.1-oe2403lts: + path: dotnet-aspnet/9.0.1/24.03-lts/Dockerfile \ No newline at end of file -- Gitee From c1a65f24b9327423e888e01477dc2993e605d3f8 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 5 Feb 2025 09:35:36 +0000 Subject: [PATCH 2/4] 22.03-lts-sp3 update dotnet-aspnet to 9.0.1 --- dotnet-aspnet/9.0.1/22.03-lts-sp3/Dockerfile | 31 ++++++++++++++++++++ dotnet-aspnet/meta.yml | 4 ++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 dotnet-aspnet/9.0.1/22.03-lts-sp3/Dockerfile diff --git a/dotnet-aspnet/9.0.1/22.03-lts-sp3/Dockerfile b/dotnet-aspnet/9.0.1/22.03-lts-sp3/Dockerfile new file mode 100644 index 00000000..8de2aca6 --- /dev/null +++ b/dotnet-aspnet/9.0.1/22.03-lts-sp3/Dockerfile @@ -0,0 +1,31 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp3 +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=9.0.1 + +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 && \ + yum update -y && yum install -y libicu && yum clean all && \ + curl -fSL -o dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Runtime/${VERSION}/dotnet-runtime-${VERSION}-linux-${BUILDARCH}.tar.gz && \ + curl -fSL -o aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/${VERSION}/aspnetcore-runtime-${VERSION}-linux-${BUILDARCH}.tar.gz && \ + mkdir -p /dotnet-runtime && tar -zxvf dotnet.tar.gz -C /dotnet-runtime && \ + mkdir -p /dotnet-aspnet && tar -oxzf aspnetcore.tar.gz -C /dotnet-aspnet ./shared/Microsoft.AspNetCore.App && \ + mv /dotnet-runtime /usr/share/dotnet && \ + cp -rf /dotnet-aspnet/* /usr/share/dotnet/ && \ + rm -f aspnetcore.tar.gz && rm -rf /dotnet-aspnet && \ + rm -f dotnet.tar.gz + +RUN ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet + +ENTRYPOINT [ "dotnet" ] + +CMD [ "--info" ] diff --git a/dotnet-aspnet/meta.yml b/dotnet-aspnet/meta.yml index 34f5636f..cf64fb5b 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -15,4 +15,6 @@ 8.0.10-oe2403lts: path: dotnet-aspnet/8.0.10/24.03-lts/Dockerfile 9.0.1-oe2403lts: - path: dotnet-aspnet/9.0.1/24.03-lts/Dockerfile \ No newline at end of file + path: dotnet-aspnet/9.0.1/24.03-lts/Dockerfile +9.0.1-oe2203sp3: + path: dotnet-aspnet/9.0.1/22.03-lts-sp3/Dockerfile \ No newline at end of file -- Gitee From 5df50ed5d09a78a3add23cbb18b4c08a141ae0c9 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 5 Feb 2025 09:36:17 +0000 Subject: [PATCH 3/4] 22.03-lts-sp4 update dotnet-aspnet to 9.0.1 --- dotnet-aspnet/9.0.1/22.03-lts-sp4/Dockerfile | 31 ++++++++++++++++++++ dotnet-aspnet/meta.yml | 4 ++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 dotnet-aspnet/9.0.1/22.03-lts-sp4/Dockerfile diff --git a/dotnet-aspnet/9.0.1/22.03-lts-sp4/Dockerfile b/dotnet-aspnet/9.0.1/22.03-lts-sp4/Dockerfile new file mode 100644 index 00000000..9afe26df --- /dev/null +++ b/dotnet-aspnet/9.0.1/22.03-lts-sp4/Dockerfile @@ -0,0 +1,31 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp4 +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=9.0.1 + +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 && \ + yum update -y && yum install -y libicu && yum clean all && \ + curl -fSL -o dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Runtime/${VERSION}/dotnet-runtime-${VERSION}-linux-${BUILDARCH}.tar.gz && \ + curl -fSL -o aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/${VERSION}/aspnetcore-runtime-${VERSION}-linux-${BUILDARCH}.tar.gz && \ + mkdir -p /dotnet-runtime && tar -zxvf dotnet.tar.gz -C /dotnet-runtime && \ + mkdir -p /dotnet-aspnet && tar -oxzf aspnetcore.tar.gz -C /dotnet-aspnet ./shared/Microsoft.AspNetCore.App && \ + mv /dotnet-runtime /usr/share/dotnet && \ + cp -rf /dotnet-aspnet/* /usr/share/dotnet/ && \ + rm -f aspnetcore.tar.gz && rm -rf /dotnet-aspnet && \ + rm -f dotnet.tar.gz + +RUN ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet + +ENTRYPOINT [ "dotnet" ] + +CMD [ "--info" ] diff --git a/dotnet-aspnet/meta.yml b/dotnet-aspnet/meta.yml index cf64fb5b..4da30174 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -17,4 +17,6 @@ 9.0.1-oe2403lts: path: dotnet-aspnet/9.0.1/24.03-lts/Dockerfile 9.0.1-oe2203sp3: - path: dotnet-aspnet/9.0.1/22.03-lts-sp3/Dockerfile \ No newline at end of file + path: dotnet-aspnet/9.0.1/22.03-lts-sp3/Dockerfile +9.0.1-oe2203sp4: + path: dotnet-aspnet/9.0.1/22.03-lts-sp4/Dockerfile \ No newline at end of file -- Gitee From ac423826309d5bc4d76a0452ede6c01e3bcb7463 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 5 Feb 2025 09:36:58 +0000 Subject: [PATCH 4/4] 22.03-lts-sp1 update dotnet-aspnet to 9.0.1 --- dotnet-aspnet/9.0.1/22.03-lts-sp1/Dockerfile | 31 ++++++++++++++++++++ dotnet-aspnet/meta.yml | 4 ++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 dotnet-aspnet/9.0.1/22.03-lts-sp1/Dockerfile diff --git a/dotnet-aspnet/9.0.1/22.03-lts-sp1/Dockerfile b/dotnet-aspnet/9.0.1/22.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..5174bad2 --- /dev/null +++ b/dotnet-aspnet/9.0.1/22.03-lts-sp1/Dockerfile @@ -0,0 +1,31 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp1 +FROM ${BASE} + +ARG TARGETARCH +ARG BUILDARCH +ARG VERSION=9.0.1 + +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 && \ + yum update -y && yum install -y libicu && yum clean all && \ + curl -fSL -o dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Runtime/${VERSION}/dotnet-runtime-${VERSION}-linux-${BUILDARCH}.tar.gz && \ + curl -fSL -o aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/${VERSION}/aspnetcore-runtime-${VERSION}-linux-${BUILDARCH}.tar.gz && \ + mkdir -p /dotnet-runtime && tar -zxvf dotnet.tar.gz -C /dotnet-runtime && \ + mkdir -p /dotnet-aspnet && tar -oxzf aspnetcore.tar.gz -C /dotnet-aspnet ./shared/Microsoft.AspNetCore.App && \ + mv /dotnet-runtime /usr/share/dotnet && \ + cp -rf /dotnet-aspnet/* /usr/share/dotnet/ && \ + rm -f aspnetcore.tar.gz && rm -rf /dotnet-aspnet && \ + rm -f dotnet.tar.gz + +RUN ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet + +ENTRYPOINT [ "dotnet" ] + +CMD [ "--info" ] diff --git a/dotnet-aspnet/meta.yml b/dotnet-aspnet/meta.yml index 4da30174..d084ed3d 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -19,4 +19,6 @@ 9.0.1-oe2203sp3: path: dotnet-aspnet/9.0.1/22.03-lts-sp3/Dockerfile 9.0.1-oe2203sp4: - path: dotnet-aspnet/9.0.1/22.03-lts-sp4/Dockerfile \ No newline at end of file + path: dotnet-aspnet/9.0.1/22.03-lts-sp4/Dockerfile +9.0.1-oe2203sp1: + path: dotnet-aspnet/9.0.1/22.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee