21 Star 72 Fork 73

openEuler/openeuler-docker-images
Closed

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
Dockerfile 748 Bytes
Copy Edit Raw Blame History
baigj authored 2025-03-24 12:35 +08:00 . update: container image classification
ARG BASE=openeuler/openeuler:20.03-lts-sp4
FROM ${BASE}
ARG TARGETARCH
ARG BUILDARCH
ARG VERSION=8.0.10
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" ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler/openeuler-docker-images.git
git@gitee.com:openeuler/openeuler-docker-images.git
openeuler
openeuler-docker-images
openeuler-docker-images
master

Search