From 52b424937a85586c019b900858437d8bbe03cd3f Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Tue, 24 Mar 2026 11:17:02 -0700 Subject: [PATCH] =?UTF-8?q?refactor(infra):=20remove=20proxy-stripping=20s?= =?UTF-8?q?ed=20from=20setup.sh=20=E2=80=94=20Dockerfiles=20are=20clean=20?= =?UTF-8?q?at=20source?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/devops/single_azure_vm/setup.sh | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) 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}/" }