Skip to content

feat: supply-chain hardening — MCR base images + Azure Artifacts feeds#25

Merged
dewitt4 merged 1 commit into
mainfrom
task/images
Jun 20, 2026
Merged

feat: supply-chain hardening — MCR base images + Azure Artifacts feeds#25
dewitt4 merged 1 commit into
mainfrom
task/images

Conversation

@dewitt4

@dewitt4 dewitt4 commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Switch all three app Dockerfiles from Docker Hub images to MCR (mcr.microsoft.com/cbl-mariner/base/nodejs:20 and python:3.12), eliminating the Docker Hub dependency. Replace apk/apt-get with tdnf and Alpine/Debian user-management syntax with standard groupadd/useradd.

Route all npm and pip package installs through the project Azure Artifacts feeds (agentaflow/agentbase/_packaging/python). A committed .npmrc sets the registry for pnpm; NpmAuthenticate@0 and PipAuthenticate@1 tasks authenticate the Validate stage agent. The deploy-env.yml step 2 maps System.AccessToken → AZURE_ARTIFACTS_TOKEN and passes it as a --build-arg to all three az acr build calls so packages inside ACR Tasks builds also resolve through the feed.

Switch all three app Dockerfiles from Docker Hub images to MCR
(mcr.microsoft.com/cbl-mariner/base/nodejs:20 and python:3.12),
eliminating the Docker Hub dependency. Replace apk/apt-get with tdnf
and Alpine/Debian user-management syntax with standard groupadd/useradd.

Route all npm and pip package installs through the project Azure Artifacts
feeds (agentaflow/agentbase/_packaging/python). A committed .npmrc sets
the registry for pnpm; NpmAuthenticate@0 and PipAuthenticate@1 tasks
authenticate the Validate stage agent. The deploy-env.yml step 2 maps
System.AccessToken → AZURE_ARTIFACTS_TOKEN and passes it as a --build-arg
to all three az acr build calls so packages inside ACR Tasks builds also
resolve through the feed.
@dewitt4 dewitt4 self-assigned this Jun 20, 2026
@dewitt4 dewitt4 added the enhancement New feature or request label Jun 20, 2026
@dewitt4 dewitt4 merged commit ed12ffa into main Jun 20, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant