build-kaniko.sh (247B)
1 #!/bin/sh 2 3 set -ex 4 5 ARCH="$1" 6 7 git clone --no-checkout --depth=1 --branch=v1.25.0 https://github.com/chainguard-dev/kaniko . 8 git checkout 37afb27d847300f5baeef648b0bafcf31e35a178 9 if [ "$ARCH" = arm64 ]; then 10 make GOARCH=arm64 11 else 12 make 13 fi