Skip to content

Commit

Permalink
buildx args: no no yes
Browse files Browse the repository at this point in the history
  • Loading branch information
huapox committed Oct 15, 2023
1 parent c24a1a7 commit 6d54367
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ubt-core/buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,15 @@ compile2)
img="docker-headless:core-compile2"
plat="--platform linux/amd64,linux/arm64" #,linux/arm
plat="--platform linux/arm"
args="--provenance=false"
args="""
--provenance=false
--build-arg COMPILE_XRDP=no
--build-arg COMPILE_PULSE=no
--build-arg COMPILE_TIGER=yes
"""
# --network=host: docker buildx create --use --name mybuilder2 --buildkitd-flags '--allow-insecure-entitlement network.host'
docker buildx build $plat --push -t $ns/$img -f src/Dockerfile.compile2 .
docker buildx build $plat $args --push -t $ns/$img -f src/Dockerfile.compile2 .
;;

# +slim,base (docker-headless,weskit; use docker-headless's)
Expand Down

0 comments on commit 6d54367

Please sign in to comment.