Skip to content

Commit

Permalink
add bcOnly param and set tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tfenster committed Oct 22, 2023
1 parent 7e60924 commit 14f45b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion generic/build.ps1
Expand Up @@ -35,7 +35,8 @@ else {
$dockerfile = Join-Path $RootPath "DOCKERFILE"
}

$image = "mygeneric"
$genericTag = "1.1.0.0"
$image = "mygeneric:$genericTag"

docker pull $baseimage
$osversion = docker inspect --format "{{.OsVersion}}" $baseImage
Expand All @@ -58,6 +59,7 @@ else {
--build-arg created=$created `
--build-arg tag="$genericTag" `
--build-arg osversion="$osversion" `
--build-arg bcOnly="$bcOnly" `
--isolation=$isolation `
--tag $image `
--file $dockerfile `
Expand Down

0 comments on commit 14f45b0

Please sign in to comment.