Browse Source

fix for docker experimental

master
JoYo 2 months ago
parent
commit
a408d5e7f7
  1. 2
      Dockerfile
  2. 11
      README.mdown
  3. 2
      winxp.Dockerfile

2
Dockerfile

@ -1,5 +1,5 @@
# escape=`
FROM mcr.microsoft.com/windows/servercore:2004
FROM mcr.microsoft.com/windows/servercore:20H2
ADD https://aka.ms/vs/16/release/channel C:\docker\visualstudio.release.chman
ADD https://aka.ms/vs/16/release/vs_buildtools.exe C:\docker\vs_buildtools.exe

11
README.mdown

@ -108,3 +108,14 @@ MSBuild C:\build\project.sln
Copy-Item C:\build\bin -Destination C:\source\ -Recurse -Force
Remove-Item -Recurse C:\build\
```
# docker-compose build not implimented
https://docs.docker.com/compose/cli-command/#compose-v2-and-the-new-docker-compose-command
Docker Desktop includes an experimental version of docker-compose which may result in this error.
Use the following command to disable.
```
docker-compose disable-v2
```

2
winxp.Dockerfile

@ -1,5 +1,5 @@
# escape=`
FROM mcr.microsoft.com/windows/servercore:2004
FROM mcr.microsoft.com/windows/servercore:20H2
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

Loading…
Cancel
Save