We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6e3fd7 + b3e7492 commit 6fd7060Copy full SHA for 6fd7060
Makefile
@@ -40,7 +40,16 @@ check-reqs:
40
41
## This function is specific to Jenkins infrastructure and isn't required in other contexts
42
docker-init: check-reqs
43
- @set -x; docker buildx create --use
+ifeq ($(CI),true)
44
+ifeq ($(wildcard /etc/buildkitd.toml),)
45
+ echo 'WARNING: /etc/buildkitd.toml not found, using default configuration.'
46
+ docker buildx create --use --bootstrap --driver docker-container
47
+else
48
+ docker buildx create --use --bootstrap --driver docker-container --config /etc/buildkitd.toml
49
+endif
50
51
52
53
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
54
55
build: check-reqs
0 commit comments