Skip to content

Commit

Permalink
buildx: +compile,compile2
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Oct 14, 2023
1 parent a7a2fab commit 77ab700
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions deb12/buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,33 @@ ns=infrastlabs
ver=v51 #base-v5 base-v5-slim
case "$1" in
compile)
repo=registry-1.docker.io
img="docker-headless:deb12-compile"
plat="--platform linux/amd64,linux/arm64" #,linux/arm
plat="--platform linux/amd64"
args="--provenance=false"
# --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.compile .
;;
compile2)
# TigerVNC 1.12.0 |10 Nov 2021
old=$(pwd); cd src/arm
# xrdp
ver="0.9.16"
file=xrdp-${ver}.tar.gz; test -s $file || curl -k -O -fSL https://github.com/neutrinolabs/xrdp/releases/download/v${ver}/$file
# tiger
file=xorg-server-1.20.7.tar.bz2; test -s $file || curl -k -O -fSL https://www.x.org/pub/individual/xserver/$file #6.1M
file=tigervnc-1.12.0.tar.gz; test -s $file || curl -k -O -fSL https://github.com/TigerVNC/tigervnc/archive/v1.12.0/$file #1.5M
# curl -O -fsSL https://www.linuxfromscratch.org/patches/blfs/svn/tigervnc-1.12.0-configuration_fixes-1.patch
# xrdp
ver="0.9.16"
file=xrdp-${ver}.tar.gz; test -s $file || curl -k -O -fSL https://github.com/neutrinolabs/xrdp/releases/download/v${ver}/$file
# tiger
file=xorg-server-1.20.7.tar.bz2; test -s $file || curl -k -O -fSL https://www.x.org/pub/individual/xserver/$file #6.1M
file=tigervnc-1.12.0.tar.gz; test -s $file || curl -k -O -fSL https://github.com/TigerVNC/tigervnc/archive/v1.12.0/$file #1.5M
# curl -O -fsSL https://www.linuxfromscratch.org/patches/blfs/svn/tigervnc-1.12.0-configuration_fixes-1.patch
cd $old;
#
repo=registry-1.docker.io
img="docker-headless:deb12-compile"
img="docker-headless:deb12-compile2"
plat="--platform linux/amd64,linux/arm64" #,linux/arm
plat="--platform linux/amd64"
args="--provenance=false"
# --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.compile .
docker buildx build $plat --push -t $ns/$img -f src/Dockerfile.compile2 .
;;

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

0 comments on commit 77ab700

Please sign in to comment.