functions.sh : maj buildkit v0.10.5
This commit is contained in:
parent
a5ae173ab8
commit
00cfa67d14
|
@ -285,15 +285,16 @@ os.execve(p, ['binary'] + myargs.split(), {'PATH': '${PATH}'})"
|
||||||
|
|
||||||
# Execute buildctl directly from the web
|
# Execute buildctl directly from the web
|
||||||
my_buildctl () {
|
my_buildctl () {
|
||||||
|
buildkitversion='v0.10.5'
|
||||||
if [[ $(uname -i) == 'aarch64' ]]; then
|
if [[ $(uname -i) == 'aarch64' ]]; then
|
||||||
buildkitarch='arm64'
|
buildkitarch='arm64'
|
||||||
buildctlchecksum='addd49a1db6962c1f04242c93b91d385742a9f8a971f69014d7fd3add30dd82d9f7c002b4cbe4c18c81759cac1c0e0ff2a7f6014e721074216a4f307b112e30e'
|
buildctlchecksum='4b194eeb1d1079c7842e40ed0894221405dddf09ce8f0892072afa6c0581e3b5750efbcb93924c2f6739dcab7c1c8a63e99d0084233280bc6f5adb1471bc7c12'
|
||||||
else
|
else
|
||||||
# defaults to amd64
|
# defaults to amd64
|
||||||
buildkitarch='amd64'
|
buildkitarch='amd64'
|
||||||
buildctlchecksum='510fe781c844b39b569839f27528a2290f39b25f26182489239557a42edded6c16cec571b20c55bdc8f69ffbb59f8e63320540477c7a0d642543d07df99a198b'
|
buildctlchecksum='b9e56aebf4dec0cc2f0abfec27c0a89bb1a747ef6fd85233b6358cd83b394ecf879dd963e6e5bfaad08db1c3c46b9a754bbef5d421e74f89781e1849b7c40187'
|
||||||
fi
|
fi
|
||||||
curl -sSLf https://github.com/moby/buildkit/releases/download/v0.9.3/buildkit-v0.9.3.linux-${buildkitarch}.tar.gz |
|
curl -sSLf https://github.com/moby/buildkit/releases/download/${buildkitversion}/buildkit-${buildkitversion}.linux-${buildkitarch}.tar.gz |
|
||||||
tar xOz bin/buildctl | python3 -c "
|
tar xOz bin/buildctl | python3 -c "
|
||||||
import os, hashlib, sys
|
import os, hashlib, sys
|
||||||
from sys import stdin
|
from sys import stdin
|
||||||
|
|
Loading…
Reference in a new issue