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 0000000000000000000000000000000000000000..79944b5da01632664a528e27ad3a62d31191a2bf --- /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/9.0.0/22.03-lts-sp3/Dockerfile b/dotnet-aspnet/9.0.0/22.03-lts-sp3/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..ba63bec5cc41108c0b168955da9c0d3d77d9b973 --- /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/9.0.0/22.03-lts-sp4/Dockerfile b/dotnet-aspnet/9.0.0/22.03-lts-sp4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..3fc1d06ecf8ae7af304fb0ba61f19e978e61f398 --- /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/9.0.0/24.03-lts/Dockerfile b/dotnet-aspnet/9.0.0/24.03-lts/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..1a1660e338cd8983299cf14931f3237704474d06 --- /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 9d4e62e7782d6372dfca943827c9e5a24bb0928b..2363607e685dcf834eabbff83be3b1b5a4a8094b 100644 --- a/dotnet-aspnet/meta.yml +++ b/dotnet-aspnet/meta.yml @@ -11,4 +11,12 @@ 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 +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 +9.0.0-oe2203sp1: + path: dotnet-aspnet/9.0.0/22.03-lts-sp1/Dockerfile \ No newline at end of file