1
0
Fork 0

set fixed windows version number

This commit is contained in:
Christian Kühnel 2020-02-20 09:15:11 +00:00
parent 71240e7473
commit a0f676dfba

View file

@ -28,7 +28,10 @@ Get-Content "${ROOT_DIR}/k8s_config" | Foreach-Object{
New-Variable -Name QUALIFIED_NAME -Value "${GCR_HOSTNAME}/${GCP_PROJECT}/${IMAGE_NAME}"
Push-Location "$PSScriptRoot\$IMAGE_NAME"
docker build -t $IMAGE_NAME .
# TODO: get current Windows version number from host via "cmd /c ver"
# to solve these issues: https://stackoverflow.com/questions/43123851/unable-to-run-cygwin-in-windows-docker-container/52273489#52273489
docker build -t $IMAGE_NAME --build-arg version=10.0.17763.1039 .
docker tag $IMAGE_NAME $QUALIFIED_NAME
docker push $QUALIFIED_NAME
Pop-Location