1
0
Fork 0

added -it so container can be killed

This commit is contained in:
Christian Kühnel 2019-12-02 14:17:30 +01:00
parent 68b1b78080
commit 3c0c4547ff

View file

@ -22,9 +22,10 @@ Format-Volume -DriveLetter D
Write-Host "Authenticating with gcloud..." Write-Host "Authenticating with gcloud..."
# TODO: make this quiet and non-interactive # TODO: make this quiet and non-interactive
# TODO: check if this works if it's already installed
gcloud components install docker-credential-gcr gcloud components install docker-credential-gcr
docker-credential-gcr configure-docker docker-credential-gcr configure-docker
Write-Host "Launching docker container, this might take a while..." Write-Host "Launching docker container, this might take a while..."
docker pull gcr.io/llvm-premerge-checks/agent-windows-jenkins:latest docker pull gcr.io/llvm-premerge-checks/agent-windows-jenkins:latest
docker run -v D:\:C:\ws gcr.io/llvm-premerge-checks/agent-windows-jenkins:latest docker run -it -v D:\:C:\ws gcr.io/llvm-premerge-checks/agent-windows-jenkins:latest