mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-05-27 06:05:39 +00:00
Corrected the setting of MC_IMAGE_HELPER_OPTS from PROXY_* vars (#4081)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user