From 71dcb5868872aa2493b3188a26b4dc3fdf0ae4fd Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 13 Nov 2024 00:22:32 +0000 Subject: [PATCH 1/4] 24.03-lts update dotnet-aspnet to 9.0.0 --- dotnet-aspnet/9.0.0/24.03-lts/Dockerfile | 31 ++++++++++++++++++++++++ dotnet-aspnet/meta.yml | 4 ++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 dotnet-aspnet/9.0.0/24.03-lts/Dockerfile diff --git a/dotnet-aspnet/9.0.0/24.03-lts/Dockerfile b/dotnet-aspnet/9.0.0/24.03-lts/Dockerfile new file mode 100644 index 0000000..1a1660e --- /dev/null +++ b/dotnet-aspnet/9.0.0/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.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 && \ + 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 9d4e62e..8bd2efa 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -11,4 +11,6 @@ 8.0.10-oe2203sp1: path: dotnet-aspnet/8.0.10/22.03-lts-sp1/Dockerfile 8.0.10-oe2003sp4: - path: dotnet-aspnet/8.0.10/20.03-lts-sp4/Dockerfile \ No newline at end of file + path: dotnet-aspnet/8.0.10/20.03-lts-sp4/Dockerfile +9.0.0-oe2403lts: + path: dotnet-aspnet/9.0.0/24.03-lts/Dockerfile \ No newline at end of file -- Gitee From b66823fc875b67110d76d33732ad47660b518b27 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 13 Nov 2024 00:23:01 +0000 Subject: [PATCH 2/4] 22.03-lts-sp3 update dotnet-aspnet to 9.0.0 --- dotnet-aspnet/9.0.0/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.0/22.03-lts-sp3/Dockerfile diff --git a/dotnet-aspnet/9.0.0/22.03-lts-sp3/Dockerfile b/dotnet-aspnet/9.0.0/22.03-lts-sp3/Dockerfile new file mode 100644 index 0000000..ba63bec --- /dev/null +++ b/dotnet-aspnet/9.0.0/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.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 && \ + 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 8bd2efa..d2db00e 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -13,4 +13,6 @@ 8.0.10-oe2003sp4: path: dotnet-aspnet/8.0.10/20.03-lts-sp4/Dockerfile 9.0.0-oe2403lts: - path: dotnet-aspnet/9.0.0/24.03-lts/Dockerfile \ No newline at end of file + path: dotnet-aspnet/9.0.0/24.03-lts/Dockerfile +9.0.0-oe2203sp3: + path: dotnet-aspnet/9.0.0/22.03-lts-sp3/Dockerfile \ No newline at end of file -- Gitee From f7c3a160643f5bab23910f4e41b0990233288476 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 13 Nov 2024 00:23:30 +0000 Subject: [PATCH 3/4] 22.03-lts-sp4 update dotnet-aspnet to 9.0.0 --- dotnet-aspnet/9.0.0/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.0/22.03-lts-sp4/Dockerfile diff --git a/dotnet-aspnet/9.0.0/22.03-lts-sp4/Dockerfile b/dotnet-aspnet/9.0.0/22.03-lts-sp4/Dockerfile new file mode 100644 index 0000000..3fc1d06 --- /dev/null +++ b/dotnet-aspnet/9.0.0/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.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 && \ + 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 d2db00e..773f1d8 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -15,4 +15,6 @@ 9.0.0-oe2403lts: path: dotnet-aspnet/9.0.0/24.03-lts/Dockerfile 9.0.0-oe2203sp3: - path: dotnet-aspnet/9.0.0/22.03-lts-sp3/Dockerfile \ No newline at end of file + path: dotnet-aspnet/9.0.0/22.03-lts-sp3/Dockerfile +9.0.0-oe2203sp4: + path: dotnet-aspnet/9.0.0/22.03-lts-sp4/Dockerfile \ No newline at end of file -- Gitee From 962197dc1f1609948b2820b8196c88ab3acbe376 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 13 Nov 2024 00:24:00 +0000 Subject: [PATCH 4/4] 22.03-lts-sp1 update dotnet-aspnet to 9.0.0 --- dotnet-aspnet/9.0.0/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.0/22.03-lts-sp1/Dockerfile diff --git a/dotnet-aspnet/9.0.0/22.03-lts-sp1/Dockerfile b/dotnet-aspnet/9.0.0/22.03-lts-sp1/Dockerfile new file mode 100644 index 0000000..79944b5 --- /dev/null +++ b/dotnet-aspnet/9.0.0/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.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 && \ + 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 773f1d8..2363607 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -17,4 +17,6 @@ 9.0.0-oe2203sp3: path: dotnet-aspnet/9.0.0/22.03-lts-sp3/Dockerfile 9.0.0-oe2203sp4: - path: dotnet-aspnet/9.0.0/22.03-lts-sp4/Dockerfile \ No newline at end of file + path: dotnet-aspnet/9.0.0/22.03-lts-sp4/Dockerfile +9.0.0-oe2203sp1: + path: dotnet-aspnet/9.0.0/22.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee