diff --git a/images/macos/assets/bashrc b/images/macos/assets/bashrc index ca021fd78..de4a49d76 100644 --- a/images/macos/assets/bashrc +++ b/images/macos/assets/bashrc @@ -28,6 +28,7 @@ export DOTNET_MULTILEVEL_LOOKUP=0 export HOMEBREW_NO_AUTO_UPDATE=1 export HOMEBREW_NO_INSTALL_CLEANUP=1 export HOMEBREW_CASK_OPTS="--no-quarantine" +export HOMEBREW_CURLRC=1 export BOOTSTRAP_HASKELL_NONINTERACTIVE=1 export BOOTSTRAP_HASKELL_INSTALL_NO_STACK_HOOK=1 diff --git a/images/macos/scripts/build/install-homebrew.sh b/images/macos/scripts/build/install-homebrew.sh index 4a72cf2e6..85482869f 100644 --- a/images/macos/scripts/build/install-homebrew.sh +++ b/images/macos/scripts/build/install-homebrew.sh @@ -36,6 +36,9 @@ brew_smart_install jq echo "Installing curl..." brew_smart_install curl +echo "Configuring curl to resolve names with IPv4..." +echo '--ipv4' >> ~/.curlrc + echo "Installing wget..." brew_smart_install "wget"