diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 9fa1702..6da4d74 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -20,6 +20,7 @@ jobs: - 3.1 - 5 - 6 + - 7 steps: - uses: actions/checkout@v3 # Setup QEMU for ARM64 Build diff --git a/dotnet/3.1/Dockerfile b/dotnet/3.1/Dockerfile index d4ed996..d326698 100644 --- a/dotnet/3.1/Dockerfile +++ b/dotnet/3.1/Dockerfile @@ -9,7 +9,7 @@ RUN apt update -y \ && apt install -y apt-transport-https wget iproute2 libgdiplus \ && wget https://dot.net/v1/dotnet-install.sh \ && chmod +x dotnet-install.sh \ - && ./dotnet-install.sh -i /usr/share -v 3.1.424 \ + && ./dotnet-install.sh -i /usr/share -v 3.1.425 \ && ln -s /usr/share/dotnet /usr/bin/dotnet diff --git a/dotnet/6/Dockerfile b/dotnet/6/Dockerfile index 854ea9f..f12bb9f 100644 --- a/dotnet/6/Dockerfile +++ b/dotnet/6/Dockerfile @@ -9,7 +9,7 @@ RUN apt update -y \ && apt install -y apt-transport-https wget iproute2 libgdiplus \ && wget https://dot.net/v1/dotnet-install.sh \ && chmod +x dotnet-install.sh \ - && ./dotnet-install.sh -i /usr/share \ + && ./dotnet-install.sh -i /usr/share -v 6.0.403 \ && ln -s /usr/share/dotnet /usr/bin/dotnet USER container diff --git a/dotnet/7/Dockerfile b/dotnet/7/Dockerfile new file mode 100644 index 0000000..03b5441 --- /dev/null +++ b/dotnet/7/Dockerfile @@ -0,0 +1,20 @@ +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 iproute2 libgdiplus \ + && wget https://dot.net/v1/dotnet-install.sh \ + && chmod +x dotnet-install.sh \ + && ./dotnet-install.sh -i /usr/share -v 7.0.100 \ + && ln -s /usr/share/dotnet /usr/bin/dotnet + +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +COPY ./../entrypoint.sh /entrypoint.sh +CMD [ "/bin/bash", "/entrypoint.sh" ]