diff --git a/docs/devops/single_azure_vm/setup.sh b/docs/devops/single_azure_vm/setup.sh index 7ed2708e..9612754f 100755 --- a/docs/devops/single_azure_vm/setup.sh +++ b/docs/devops/single_azure_vm/setup.sh @@ -289,26 +289,9 @@ phase3_clone() { fi done - # ── Strip corporate proxy from Dockerfiles ────────────────────────── - # Product Dockerfiles have hardcoded AT&T corporate proxy ENVs that - # would break builds on any non-corporate network (including Azure VMs). - # Strip them since we don't need a proxy on the VM. - log " Stripping corporate proxy from Dockerfiles..." - local patched=0 - for df in "${INSTALL_DIR}"/*/backend/Dockerfile "${INSTALL_DIR}"/*/web/Dockerfile "${INSTALL_DIR}"/learning_multimodal_memory_agents/mindlyst-native/web/Dockerfile "${INSTALL_DIR}"/learning_voice_ai_agent/user-dashboard-web/Dockerfile; do - [ -f "$df" ] || continue - if grep -q 'cso\.proxy\.att\.com' "$df" 2>/dev/null; then - sed -i \ - -e '/HTTP_PROXY=http:\/\/cso\.proxy/d' \ - -e '/HTTPS_PROXY=http:\/\/cso\.proxy/d' \ - -e '/NO_PROXY=/d' \ - -e '/jfrog-pkg-proxy.*\\$/d' \ - -e 's| && npm config set registry https://jfrog-pkg-proxy[^ ]*||' \ - "$df" - patched=$((patched + 1)) - fi - done - ok " Patched ${patched} Dockerfiles (removed corporate proxy)." + # NOTE: Corporate proxy was removed from all Dockerfiles at source + # (commit fix(docker) across all 10 product repos + dashboards). + # No runtime sed stripping needed. ok "Phase 3 complete. All repos in ${INSTALL_DIR}/" }