From 9c5f6469ff657a0f0c73296edb7f1a76f93ca225 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Tue, 23 May 2023 01:38:34 +0800 Subject: [PATCH] Allow docker buildkit to be enabled via env var (#403) --- app/build_containers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build_containers.py b/app/build_containers.py index 1ed3cb16..0a8a2636 100644 --- a/app/build_containers.py +++ b/app/build_containers.py @@ -90,7 +90,7 @@ def command(ctx, include, exclude, force_rebuild, extra_build_args): "CERC_CONTAINER_BASE_DIR": container_build_dir, "CERC_HOST_UID": f"{os.getuid()}", "CERC_HOST_GID": f"{os.getgid()}", - "DOCKER_BUILDKIT": "0" + "DOCKER_BUILDKIT": config("DOCKER_BUILDKIT", default="0") } container_build_env.update({"CERC_SCRIPT_DEBUG": "true"} if debug else {}) container_build_env.update({"CERC_FORCE_REBUILD": "true"} if force_rebuild else {})