Create image for specific arch

pull/16/head
Stefan Scherer 3 years ago
parent 276bbba5c1
commit 43e115e588

@ -5,7 +5,7 @@ Write-Host Starting build
if ($isWindows) { if ($isWindows) {
docker build --pull -t whoami -f Dockerfile.windows . docker build --pull -t whoami -f Dockerfile.windows .
} else { } else {
docker build -t whoami --build-arg "arch=$env:ARCH" . docker build --platform "linux/$env:ARCH" -t whoami --build-arg "arch=$env:ARCH" .
} }
docker images docker images

Loading…
Cancel
Save