dotnetcore5sdk/Dockerfile
Wolfgang Hottgenroth 627c79e604 initial
2021-11-22 12:26:40 +01:00

15 lines
629 B
Docker

FROM registry.hottis.de/dockerized/base-build-env:1.5.1-bullseye
LABEL Maintainer="Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>"
RUN \
apt update -y && \
apt upgrade -y && \
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.asc.gpg && \
curl https://packages.microsoft.com/config/debian/11/prod.list > /etc/apt/sources.list.d/microsoft-prod.list && \
chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg && \
chown root:root /etc/apt/sources.list.d/microsoft-prod.list && \
apt update -y && \
apt install -y dotnet-sdk-5.0