Skip to content

Commit e5ce179

Browse files
authored
Merge pull request #5323 from PGhiorzo/kind-helm-modify
Modified line 277 to let kind-helm.sh run also behind a proxy
2 parents c10f1e5 + abd8e0f commit e5ce179

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

contrib/kind-helm.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,12 @@ build_ovn_image() {
280280
# Find all built executables, but ignore the 'windows' directory if it exists
281281
find ../../go-controller/_output/go/bin/ -maxdepth 1 -type f -exec cp -f {} . \;
282282
echo "ref: $(git rev-parse --symbolic-full-name HEAD) commit: $(git rev-parse HEAD)" > git_info
283-
$OCI_BIN build -t "${OVN_IMAGE}" -f Dockerfile.fedora .
283+
$OCI_BIN build \
284+
--build-arg http_proxy="$http_proxy" \
285+
--build-arg https_proxy="$https_proxy" \
286+
--network=host \
287+
-t "${OVN_IMAGE}" \
288+
-f Dockerfile.fedora .
284289
popd
285290
}
286291

0 commit comments

Comments
 (0)