Azure / Azure/MachineLearningNotebooks

Using Workspace Connections for Docker Authentication in Serverless Builds

Open
#1,985 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

## Title
How to properly pass workspace connection credentials to Docker builds on AML serverless compute

## Description

### Problem Statement
I'm trying to set up a Docker build on Azure ML serverless compute that needs to authenticate to a private PyPI feed during the image build phase. The image needs to install Python packages from a private Azure DevOps Artifacts feed.

### What I'm Trying to Achieve
- Create a Docker image that installs packages from a private PyPI mirror
- Use Azure DevOps Personal Access Token (PAT) for authentication (I am happy to use a different way if it is more sustainable and better)
- Run this on AML serverless compute (not a dedicated compute cluster)
- Securely pass credentials without hardcoding them

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.