buildkit cmd buildctl : v0.12.0 pour correspondre a buildkitd (matrix/synapse)

This commit is contained in:
Gitouche 2023-07-29 10:41:35 +02:00
parent 86bf4f9e7a
commit d28f62e17e

View file

@ -308,14 +308,14 @@ os.execve(p, ['binary'] + myargs.split(), {'PATH': '${PATH}'})"
# Execute buildctl directly from the web
my_buildctl () {
buildkitversion='v0.10.5'
buildkitversion='v0.12.0'
if [[ $(uname -i) == 'aarch64' ]]; then
buildkitarch='arm64'
buildctlchecksum='4b194eeb1d1079c7842e40ed0894221405dddf09ce8f0892072afa6c0581e3b5750efbcb93924c2f6739dcab7c1c8a63e99d0084233280bc6f5adb1471bc7c12'
buildctlchecksum='50f667bedc70293710a1fa30cf0373fae159619cadbd279bc7b6174c96d856a2131130e4a78d5dcd75d3d3ff5693c3f062ae347256d5ee71cbbf36c1bb0e4769'
else
# defaults to amd64
buildkitarch='amd64'
buildctlchecksum='b9e56aebf4dec0cc2f0abfec27c0a89bb1a747ef6fd85233b6358cd83b394ecf879dd963e6e5bfaad08db1c3c46b9a754bbef5d421e74f89781e1849b7c40187'
buildctlchecksum='d79f9811e88b768162d27c53903e5764b7bce1b17520b5df2c693f5756bdf1a47c921b1dd48c585f56e30ee51214ee6ad07d1b7bebe4bdecf24efc77cca4fa53'
fi
curl -sSLf https://github.com/moby/buildkit/releases/download/${buildkitversion}/buildkit-${buildkitversion}.linux-${buildkitarch}.tar.gz |
tar xOz bin/buildctl | python3 -c "