File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ PLATFORMS ?= linux/amd64
20
20
# Alternatively, you can export the PLATFORMS variable like this:
21
21
# export PLATFORMS=linux/arm64,linux/s390x,linux/amd64
22
22
ARCH := $(shell uname -m | sed 's/x86_64/amd64/')
23
- DOCKER_BUILDER ?= docker-builder
23
+ DOCKER_BUILDER ?= cnao- docker-builder
24
24
OPERATOR_IMAGE_TAGGED := $(IMAGE_REGISTRY ) /$(OPERATOR_IMAGE ) :$(IMAGE_TAG )
25
25
NULL :=
26
26
SPACE := $(NULL ) #
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
check_buildx () {
4
- if ! docker buildx version > /dev/null 2>&1 ; then
5
- echo " Docker Buildx is not installed or not available."
6
- echo " Please ensure Docker 19.03+ and Buildx is available."
7
- exit 1
4
+ export DOCKER_CLI_EXPERIMENTAL=enabled
5
+
6
+ # If there is no buildx let's install it
7
+ if ! docker buildx > /dev/null 2>&1 ; then
8
+ mkdir -p ~ /.docker/cli-plugins
9
+ curl -L https://github.com/docker/buildx/releases/download/v0.6.3/buildx-v0.6.3.linux-amd64 --output ~ /.docker/cli-plugins/docker-buildx
10
+ chmod a+x ~ /.docker/cli-plugins/docker-buildx
8
11
fi
9
12
}
10
13
You can’t perform that action at this time.
0 commit comments