Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active January 27, 2020 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/60ca044e046c1fddc01ac24aeff802d9 to your computer and use it in GitHub Desktop.
Save bjoerntx/60ca044e046c1fddc01ac24aeff802d9 to your computer and use it in GitHub Desktop.
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-ltsc2019
ADD http://download.microsoft.com/download/0/5/6/056dcda9-d667-4e27-8001-8a0c6971d6b1/vcredist_x64.exe vcredist_x64.exe
RUN Start-Process -filepath C:\vcredist_x64.exe -ArgumentList "/install", "/passive", "/norestart", "'/log a.txt'" -PassThru | wait-process
ARG source
WORKDIR /inetpub/wwwroot
COPY ${source:-obj/Docker/publish} .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment