operator-sdk icon indicating copy to clipboard operation
operator-sdk copied to clipboard

make docker-build with proxy support

Open ric79 opened this issue 3 years ago • 0 comments

Bug Report

What did you do?

make docker-build does not run properly behind a corporate proxy. I need to pass http_proxy and https_proxy in order to execute RUN ansible-galaxy...

What did you expect to see?

.PHONY: docker-build
docker-build: ## Build docker image with the manager.
        docker build -t ${IMG} --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${http_proxy} \.

Operator type:

Kubernetes cluster type: minikube

$ operator-sdk version
operator-sdk version: "v1.22.2", commit: "da3346113a8a75e11225f586482934000504a60f", kubernetes version: "1.24.1", go version: "go1.18.4", GOOS: "linux", GOARCH: "amd64"

ric79 avatar Aug 12 '22 09:08 ric79