From 52227d62e2e553caf01b25063dc4ab9584f01655 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Fri, 21 Feb 2025 01:00:41 +0000 Subject: [PATCH 1/4] 24.03-lts update dotnet-aspnet to 9.0.2 --- dotnet-aspnet/9.0.2/24.03-lts/Dockerfile | 31 ++++++++++++++++++++++++ dotnet-aspnet/meta.yml | 4 ++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 dotnet-aspnet/9.0.2/24.03-lts/Dockerfile diff --git a/dotnet-aspnet/9.0.2/24.03-lts/Dockerfile b/dotnet-aspnet/9.0.2/24.03-lts/Dockerfile new file mode 100644 index 00000000..5481e988 --- /dev/null +++ b/dotnet-aspnet/9.0.2/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.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 && \ + 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..e0ce7f01 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.2-oe2403lts: + path: dotnet-aspnet/9.0.2/24.03-lts/Dockerfile \ No newline at end of file -- Gitee From bf9a56d2bbcd83001bc597435773f25e56e9f747 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Fri, 21 Feb 2025 01:01:40 +0000 Subject: [PATCH 2/4] 22.03-lts-sp3 update dotnet-aspnet to 9.0.2 --- dotnet-aspnet/9.0.2/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.2/22.03-lts-sp3/Dockerfile diff --git a/dotnet-aspnet/9.0.2/22.03-lts-sp3/Dockerfile b/dotnet-aspnet/9.0.2/22.03-lts-sp3/Dockerfile new file mode 100644 index 00000000..5849e0b5 --- /dev/null +++ b/dotnet-aspnet/9.0.2/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.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 && \ + 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 e0ce7f01..e1d44621 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.2-oe2403lts: - path: dotnet-aspnet/9.0.2/24.03-lts/Dockerfile \ No newline at end of file + path: dotnet-aspnet/9.0.2/24.03-lts/Dockerfile +9.0.2-oe2203sp3: + path: dotnet-aspnet/9.0.2/22.03-lts-sp3/Dockerfile \ No newline at end of file -- Gitee From 414c6259cbb4fadea91cd03b8578b85625465ab7 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Fri, 21 Feb 2025 01:02:26 +0000 Subject: [PATCH 3/4] 22.03-lts-sp4 update dotnet-aspnet to 9.0.2 --- dotnet-aspnet/9.0.2/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.2/22.03-lts-sp4/Dockerfile diff --git a/dotnet-aspnet/9.0.2/22.03-lts-sp4/Dockerfile b/dotnet-aspnet/9.0.2/22.03-lts-sp4/Dockerfile new file mode 100644 index 00000000..a27be3c9 --- /dev/null +++ b/dotnet-aspnet/9.0.2/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.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 && \ + 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 e1d44621..b2feb951 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -17,4 +17,6 @@ 9.0.2-oe2403lts: path: dotnet-aspnet/9.0.2/24.03-lts/Dockerfile 9.0.2-oe2203sp3: - path: dotnet-aspnet/9.0.2/22.03-lts-sp3/Dockerfile \ No newline at end of file + path: dotnet-aspnet/9.0.2/22.03-lts-sp3/Dockerfile +9.0.2-oe2203sp4: + path: dotnet-aspnet/9.0.2/22.03-lts-sp4/Dockerfile \ No newline at end of file -- Gitee From bb732153403f62082bc732aee8a6d2cce85303de Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Fri, 21 Feb 2025 01:03:22 +0000 Subject: [PATCH 4/4] 22.03-lts-sp1 update dotnet-aspnet to 9.0.2 --- dotnet-aspnet/9.0.2/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.2/22.03-lts-sp1/Dockerfile diff --git a/dotnet-aspnet/9.0.2/22.03-lts-sp1/Dockerfile b/dotnet-aspnet/9.0.2/22.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..c0b4b2c8 --- /dev/null +++ b/dotnet-aspnet/9.0.2/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.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 && \ + 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 b2feb951..672307d6 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -19,4 +19,6 @@ 9.0.2-oe2203sp3: path: dotnet-aspnet/9.0.2/22.03-lts-sp3/Dockerfile 9.0.2-oe2203sp4: - path: dotnet-aspnet/9.0.2/22.03-lts-sp4/Dockerfile \ No newline at end of file + path: dotnet-aspnet/9.0.2/22.03-lts-sp4/Dockerfile +9.0.2-oe2203sp1: + path: dotnet-aspnet/9.0.2/22.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee