mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Install docker and buildx using official instructions
This commit is contained in:
parent
65485241a6
commit
41165c16ff
4 changed files with 16 additions and 22 deletions
|
|
@ -174,29 +174,20 @@ function print_docker_args() {
|
|||
}
|
||||
|
||||
function print_buildx_args() {
|
||||
declare -A BUILDX_DOWNLOAD_SHA256
|
||||
|
||||
case "$1" in
|
||||
0.8)
|
||||
BUILDX_VERSION=0.8.2
|
||||
BUILDX_DOWNLOAD_SHA256[amd64]=c64de4f3c30f7a73ff9db637660c7aa0f00234368105b0a09fa8e24eebe910c3
|
||||
BUILDX_DOWNLOAD_SHA256[arm64]=304d3d9822c75f98ad9cf57f0c234bcf326bbb96d791d551728cadd72a7a377f
|
||||
;;
|
||||
0.9)
|
||||
BUILDX_VERSION=0.9.1
|
||||
BUILDX_DOWNLOAD_SHA256[amd64]=a7fb95177792ca8ffc7243fad7bf2f33738b8b999a184b6201f002a63c43d136
|
||||
BUILDX_DOWNLOAD_SHA256[arm64]=bbf6a76bf9aef9c5759ff225b97ce23a24fc11e4fa3cdcae36e5dcf1de2cffc5
|
||||
;;
|
||||
0.10)
|
||||
BUILDX_VERSION=0.10.2
|
||||
BUILDX_DOWNLOAD_SHA256[amd64]=ee5a5e3ebf5e5c73ac840993720bd1e72c4beb3b4ee9e85e2d6b4364cac87d89
|
||||
BUILDX_DOWNLOAD_SHA256[arm64]=5f6c706833221cd2cae267ac8612c1809f9d7e8f3fe87707ae86cb695c560cd9
|
||||
;;
|
||||
*) fail "Unknown buildx version $1" ;;
|
||||
esac
|
||||
|
||||
printf -- "--build-arg BUILDX_VERSION=%s " "$BUILDX_VERSION"
|
||||
printf -- "--build-arg BUILDX_DOWNLOAD_SHA256=%q " "${BUILDX_DOWNLOAD_SHA256[*]}"
|
||||
}
|
||||
|
||||
function print_graphicsmagick_args() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue