From 39b46f44c510d0e89f25e666f4a627aeb444771d Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:24:10 +0100 Subject: [PATCH 1/2] add Dotnet 9 --- .github/workflows/dotnet.yml | 1 + dotnet/9/Dockerfile | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 dotnet/9/Dockerfile diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 13c91cbae..355e22805 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -22,6 +22,7 @@ jobs: - 6 - 7 - 8 + - 9 steps: - uses: actions/checkout@v4 # Setup QEMU for ARM64 Build diff --git a/dotnet/9/Dockerfile b/dotnet/9/Dockerfile new file mode 100644 index 000000000..7ffef5872 --- /dev/null +++ b/dotnet/9/Dockerfile @@ -0,0 +1,25 @@ +FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian + +LABEL author="Torsten Widmann" maintainer="info@goover.de" + +ENV DEBIAN_FRONTEND noninteractive + +RUN apt update -y \ + && apt upgrade -y \ + && apt install -y apt-transport-https wget curl iproute2 libgdiplus tini \ + && wget https://dot.net/v1/dotnet-install.sh \ + && D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/9.0 | grep -i '

SDK 9.*.*

' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \ + && chmod +x dotnet-install.sh \ + && ./dotnet-install.sh -i /usr/share -v $D_V \ + && ln -s /usr/share/dotnet /usr/bin/dotnet + +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +STOPSIGNAL SIGINT + +COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +ENTRYPOINT ["/usr/bin/tini", "-g", "--"] +CMD ["/entrypoint.sh"] From 946aa2ea827bbe40d8324824b90179feb0ede96b Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:25:32 +0100 Subject: [PATCH 2/2] readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 95f6ee202..f1cfeddda 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,8 @@ is tagged correctly. * `ghcr.io/parkervcp/yolks:dotnet_7` * [`dotnet8.0`](/dotnet/8) * `ghcr.io/parkervcp/yolks:dotnet_8` +* [`dotnet9.0`](/dotnet/9) + * `ghcr.io/parkervcp/yolks:dotnet_9` ### [Elixir](/elixir)