How to pass external binaries as docker build context to dockerfile #1989
Labels
containers
Issue in vscode-remote containers
*duplicate
Issue identified as a duplicate of another issue(s)
info-needed
Issue requires more information from poster
I have a use case where I need to copy private libraries as artifacts to my docker image. I see in the devcontainer.json we can specify context, but AFAICT, it can only refer to files that are also check in to the git repository. Currently, these binary artifacts are store either in Azure storage blob or Azure DevOps build artifact.
What is the recommended way to pass binary files for Dockerfile to consume?
One way I can see this work is if we support PreCreCommand like in #1045 so we can pull down the necessary files before invoking docker build. Any other suggestion?
The text was updated successfully, but these errors were encountered: