Skip to content

Commit b7ae06c

Browse files
committed
task for building images
1 parent 5c4767c commit b7ae06c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,23 @@
183183
}
184184
}
185185
},
186+
{
187+
"label": "Agents: Build Docker image",
188+
"type": "shell",
189+
"command": "& { ./scripts/docker-build-ipv4.ps1 -RegistryHosts @('mcr.microsoft.com') -BuildArgs @('-t','fw-build:ltsc2022','-f','Dockerfile.windows','${workspaceFolder}') }",
190+
"detail": "Builds/refreshes the fw-build:ltsc2022 Windows container image used by agent worktrees.",
191+
"options": {
192+
"shell": {
193+
"executable": "powershell.exe",
194+
"args": [
195+
"-NoProfile",
196+
"-ExecutionPolicy",
197+
"Bypass",
198+
"-Command"
199+
]
200+
}
201+
}
202+
},
186203
{
187204
"label": "Agents: Teardown containers",
188205
"type": "shell",

0 commit comments

Comments
 (0)