From fad9724517a964b437d20a022cfb68022a1ad404 Mon Sep 17 00:00:00 2001 From: rorajani <125279851+rorajani@users.noreply.github.com> Date: Wed, 9 Aug 2023 00:02:42 +0530 Subject: [PATCH] Test CI --- deployments/gpu-operator/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployments/gpu-operator/Makefile b/deployments/gpu-operator/Makefile index 26bd47d7..991df5f0 100644 --- a/deployments/gpu-operator/Makefile +++ b/deployments/gpu-operator/Makefile @@ -74,10 +74,13 @@ build-%: DOCKERFILE = $(CURDIR)/deployments/gpu-operator/Dockerfile.$(DOCKERFILE # Use a generic build target to build the relevant images $(BUILD_TARGETS): build-%: $(ARTIFACTS_ROOT) + $(DOCKER) $(BUILDX) create --use --name network-host --driver-opt network=host \ + --buildkitd-flags '--allow-insecure-entitlement network.host' DOCKER_BUILDKIT=1 \ $(DOCKER) $(BUILDX) build --pull \ $(DOCKER_BUILD_OPTIONS) \ $(DOCKER_BUILD_PLATFORM_OPTIONS) \ + --allow network.host \ --tag $(IMAGE) \ --build-arg BASE_DIST="$(DIST)" \ --build-arg CUDA_VERSION="$(CUDA_VERSION)" \