fix for docker experimental

master
JoYo 2021-07-15 17:57:11 -04:00
parent 5c54129141
commit a408d5e7f7
3 changed files with 13 additions and 2 deletions

View File

@ -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

View File

@ -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
```

View File

@ -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