From 6d2f8309b2d4a87cfe28584c32295909c3e85dbd Mon Sep 17 00:00:00 2001 From: gabriel-aranha-cw Date: Wed, 12 Jun 2024 17:42:59 -0300 Subject: [PATCH] revert --- chaos/install-dependencies.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chaos/install-dependencies.sh b/chaos/install-dependencies.sh index 0438f18e9..b0da11792 100755 --- a/chaos/install-dependencies.sh +++ b/chaos/install-dependencies.sh @@ -21,7 +21,8 @@ chmod +x ~/.docker/cli-plugins/docker-buildx echo "Checking if Docker image is already built..." if ! docker images | grep -q local/run_with_importer_cached; then echo "Building Docker image..." - docker build -t local/run_with_importer_cached -f ./docker/Dockerfile.run_with_importer_cached . + docker buildx inspect mybuilder > /dev/null 2>&1 || docker buildx create --name mybuilder --use + DOCKER_BUILDKIT=1 docker buildx build -t local/run_with_importer_cached -f ./docker/Dockerfile.run_with_importer_cached . else echo "Docker image already built." fi