aws-samples / aws-samples/sagemaker-studio-image-build-cli

sm-docker build does not work when delaing with private Pypi repos

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
59
Forks
26
PR merge metrics
No merged PRs in 30d

Description

If a Docker file installs libraries from a private PyPi repo (a repo. within a VPC), the docker build fails from the codebuild project. The reason being, the code build project is not configured to run within a VPC.

1. Enhance sm-docker to accept additional codebuild parameters so that it can accept the VpcConfig (or)
2. Enhance sm-docker to accept a config file where all the command line options can be passed in, allowing easy of passing in more options (including authentication/authorization details to the codebuild project)
3. Allow for "custom" naming of codebuild projects (passing in the name for the codebuild project as n argument or in the config file)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.