feat: Add dotnet6 (#16)
This commit is contained in:
1
.github/workflows/dotnet.yml
vendored
1
.github/workflows/dotnet.yml
vendored
@@ -19,6 +19,7 @@ jobs:
|
|||||||
- 2.1
|
- 2.1
|
||||||
- 3.1
|
- 3.1
|
||||||
- 5
|
- 5
|
||||||
|
- 6
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: docker/setup-buildx-action@v1
|
- uses: docker/setup-buildx-action@v1
|
||||||
|
@@ -52,7 +52,9 @@ is tagged correctly.
|
|||||||
* [`dotnet3.1`](/dotnet/3.1)
|
* [`dotnet3.1`](/dotnet/3.1)
|
||||||
* `ghcr.io/parkervcp/yolks:dotnet_3.1`
|
* `ghcr.io/parkervcp/yolks:dotnet_3.1`
|
||||||
* [`dotnet5.0`](/dotnet/5.0)
|
* [`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)
|
### [Erlang](/erlang)
|
||||||
* [`erlang22`](/erlang/22)
|
* [`erlang22`](/erlang/22)
|
||||||
* `ghcr.io/parkervcp/yolks:erlang_22`
|
* `ghcr.io/parkervcp/yolks:erlang_22`
|
||||||
|
21
dotnet/6/Dockerfile
Normal file
21
dotnet/6/Dockerfile
Normal 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" ]
|
Reference in New Issue
Block a user