Add Dotnet 2.1, 3.1, 5.0 Docker Images (#9)

* Add Dotnet 2.1, 3.2, 5.0 Docker Images
This commit is contained in:
Torsten Widmann
2021-08-24 19:10:35 +02:00
committed by GitHub
parent 581038a328
commit 61e341587e
6 changed files with 123 additions and 0 deletions

21
dotnet/3.1/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM 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-3.1 libgdiplus
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]