Skip to content

Commit

Permalink
Create first-pass Cobalt Console Images for VS2022
Browse files Browse the repository at this point in the history
b/265873968

Change-Id: I0f9ad19f3b4dd7120a0398eafd598ca3ecc327ed
NOKEYCHECK=True
GitOrigin-RevId: 773a9c17d2881a01d72fa7adbab0318bc3f7d4c5
  • Loading branch information
arjungm authored and andrewsavage1 committed Mar 23, 2023
1 parent 91837e8 commit 00f0d14
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docker-compose-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ services:
image: visual-studio-base
scale: 0

visual-studio-2022-base:
build:
context: ./docker/windows/base/visualstudio2022
dockerfile: ./Dockerfile
args:
- FROM_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019
image: visual-studio-2022-base
scale: 0

visual-studio-win32-base:
build:
context: ./docker/windows/base/visualstudio2017
Expand Down Expand Up @@ -85,6 +94,17 @@ services:
depends_on:
- visual-studio-base

cobalt-build-vs2022-win-base:
build:
context: ./docker/windows/base/build
dockerfile: ./Dockerfile
args:
- FROM_IMAGE=visual-studio-2022-base
image: cobalt-build-vs2022-win-base
scale: 0
depends_on:
- visual-studio-2022-base

cobalt-build-win32-base:
build:
context: ./docker/windows/base/build
Expand Down
2 changes: 2 additions & 0 deletions docker/windows/base/visualstudio2022/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ RUN Write-Host ('Installing vs_buildtools.exe');`
--installPath C:\BuildTools `
--add Microsoft.VisualStudio.Component.VC.CoreIde `
--add Microsoft.VisualStudio.Component.VC.14.34.17.4.x86.x64 `
--add Microsoft.VisualStudio.Component.VC.Llvm.Clang `
--add Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset `
--add Microsoft.VisualStudio.Component.Windows10SDK.18362';`
Write-Host ('Cleaning up vs_buildtools.exe');`
Remove-Item -Force -Recurse ${env:ProgramFiles(x86)}\'Microsoft Visual Studio'\Installer;`
Expand Down

0 comments on commit 00f0d14

Please sign in to comment.