feat: Add dotnet6 (#16)

This commit is contained in:
Torsten Widmann
2021-11-09 19:21:55 +01:00
committed by GitHub
parent 32ae4fa67c
commit 5e9841ebad
3 changed files with 25 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ jobs:
- 2.1
- 3.1
- 5
- 6
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1

View File

@@ -52,7 +52,9 @@ is tagged correctly.
* [`dotnet3.1`](/dotnet/3.1)
* `ghcr.io/parkervcp/yolks:dotnet_3.1`
* [`dotnet5.0`](/dotnet/5.0)
* `ghcr.io/parkervcp/yolks:dotnet_5`
* `ghcr.io/parkervcp/yolks:dotnet_5`
* [`dotnet6.0`](/dotnet/5.0)
* `ghcr.io/parkervcp/yolks:dotnet_6`
### [Erlang](/erlang)
* [`erlang22`](/erlang/22)
* `ghcr.io/parkervcp/yolks:erlang_22`

21
dotnet/6/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM --platform=$BUILDPLATFORM 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 \
&& wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
&& dpkg -i packages-microsoft-prod.deb \
&& rm packages-microsoft-prod.deb \
&& apt update -y \
&& apt install -y aspnetcore-runtime-6.0 libgdiplus
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]