devcontainers / devcontainers/cli

Mounting files to be used during features build

Open
#915 1 comment 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
3k
Forks
457
Avg merge
13h 17m
Merged PRs (30d)
6

Description

I'd like to be able to mount some files which then be later used during feature installation.

My use case looks as follows:
1. Before running `devcontainer up` I download some files
2. Then custom feature needs to do some processing on downloaded files - but it fails since those files are not available during build

I can see that within the BuildKit there is an option that we can leverage:
https://docs.docker.com/reference/dockerfile/#run---mount

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.