win-build/winxp.Dockerfile

17 lines
613 B
Plaintext
Raw Normal View History

2021-02-18 18:39:35 +00:00
# escape=`
2023-03-24 22:05:42 +00:00
FROM mcr.microsoft.com/windows/servercore:ltsc2022
2021-02-18 18:39:35 +00:00
ADD https://aka.ms/vs/15/release/channel C:\docker\visualstudio.release.chman
ADD https://aka.ms/vs/15/release/vs_buildtools.exe C:\docker\vs_buildtools.exe
COPY vs15.config C:\docker\.vsconfig
RUN C:\docker\vs_buildtools.exe --quiet --wait --norestart --nocache `
--channelUri C:\docker\visualstudio.release.chman `
--installChannelUri C:\docker\visualstudio.release.chman `
--config "C:\docker\.vsconfig" `
--installPath C:\msvc
VOLUME C:\source\
WORKDIR C:\source\
2021-02-19 20:50:01 +00:00
ENTRYPOINT ["cmd", "/k C:\\msvc\\Common7\\Tools\\VsDevCmd.bat"]