Corrected the setting of MC_IMAGE_HELPER_OPTS from PROXY_* vars (#4081)

This commit is contained in:
Geoff Bourne
2026-05-26 11:39:58 -05:00
committed by GitHub
parent d375400541
commit 14356b7662
+2 -1
View File
@@ -123,7 +123,8 @@ function addToProxyArgs() {
addToProxyArgs http.proxyHost "${PROXY_HOST:-}"
addToProxyArgs http.proxyPort "${PROXY_PORT:-}"
addToProxyArgs http.nonProxyHosts "${PROXY_NON_PROXY_HOSTS:-}"
export MC_IMAGE_HELPER_OPTS+=" ${proxyArgs[*]}"
LOCAL_IFS=$IFS; IFS=' '; MC_IMAGE_HELPER_OPTS+=" ${proxyArgs[*]}"; IFS=$LOCAL_IFS
export MC_IMAGE_HELPER_OPTS
function fixJavaPath() {
# Some Docker management UIs grab all the image declared variables and present them for configuration.