devcontainers / devcontainers/cli

Mounting files to be used during features build

未关闭
#915 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature-request
主要语言
TypeScript
星标
3k
派生
457
平均合并
13 小时 17 分钟
30 天内合并 PR
6

描述

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

贡献指南

打开贡献指南

调研方向

从 `devcontainer up` 流程和 feature 安装路径入手,然后将所请求的行为与 BuildKit 的 `RUN --mount` 选项进行比较。当启动前下载的文件能够在 feature 安装期间使用,且不会破坏现有的 dev container 构建时,即可视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, typescript
领域
build-system, devops
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。