Dockerfile 326 B

1234567
  1. ENV DOTNET_NOLOGO=true
  2. RUN apt-get install wget -y
  3. RUN wget -c https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
  4. RUN yes | dpkg -i packages-microsoft-prod.deb
  5. RUN rm packages-microsoft-prod.deb
  6. RUN apt-get update
  7. RUN apt-get install dotnet-sdk-8.0 dotnet-runtime-8.0 -y