diff --git a/extra/dotnet/8.0.7/Dockerfile b/extra/dotnet/8.0.7/Dockerfile new file mode 100644 index 00000000..2e5709a0 --- /dev/null +++ b/extra/dotnet/8.0.7/Dockerfile @@ -0,0 +1,19 @@ +FROM cr.loongnix.cn/library/debian:buster +WORKDIR /root +RUN apt-get update -y && \ + apt-get install -y --no-install-recommends \ + apt-transport-https \ + ca-certificates \ + curl \ + git \ + wget \ + tzdata \ + openssh-client \ + xz-utils \ + libicu67 + +RUN wget http://ftp.loongnix.cn/dotnet/8.0.7/8.0.7-1/pkg/dotnet-sdk-8.0.107-linux-loongarch64.tar.xz + +RUN mkdir dotnet && tar -xvf dotnet-sdk-8.0.107-linux-loongarch64.tar.xz -C dotnet + +RUN ln -s /root/dotnet/dotnet /usr/bin/dotnet diff --git a/extra/dotnet/8.0.7/Makefile b/extra/dotnet/8.0.7/Makefile new file mode 100644 index 00000000..d36586df --- /dev/null +++ b/extra/dotnet/8.0.7/Makefile @@ -0,0 +1,6 @@ +image: + docker build -t cr.loongnix.cn/extra/dotnet:8.0.7 . + +push: + docker push cr.loongnix.cn/extra/dotnet:8.0.7 +