feat: Add dotnet6 (#16)

This commit is contained in:
Torsten Widmann authored and GitHub committed 2021-11-09 20:21:55 +02:00
1 parent 32ae4fa67c
commit 5e9841ebad
3 files changed
+25 -1

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
FROM --platform=$BUILDPLATFORM ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="[email protected]"
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" ]