Open weichengintel opened 2 months ago
As a temporary workaround, add --build-arg https_proxy=$(https_proxy) --build-arg http_proxy=$(http_proxy)
to lines 122 and 127 in the Makefile:
# Build manager Docker image
manager-image:
@echo "Building manager Docker image..."
$(CONTAINER_TOOL) build -t $(DOCKER_REGISTRY)/${CTR_IMG}:$(VERSION) --build-arg https_proxy=$(https_proxy) --build-arg http_proxy=$(http_proxy) -f Dockerfile.manager .
# Build router Docker image
router-image:
@echo "Building router Docker image..."
$(CONTAINER_TOOL) build -t $(DOCKER_REGISTRY)/${ROUTER_IMG}:$(VERSION) --build-arg https_proxy=$(https_proxy) --build-arg http_proxy=$(http_proxy) -f Dockerfile.router .
Network issue. Could we close this?
I'm trying to set up GMC (GenAI Microservices Connector) following the instructions in the README, but I'm encountering an error during the Docker image build process. Specifically, I can't download the Go modules while building the Docker image.
Steps to Reproduce
Error Message