Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support providing feature directories in build contexts #117

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

aaronlehmann
Copy link
Collaborator

When running a build within envbuilder, files created on the filesystem by this Go code are available at the same paths within the container build process. However, if external code calls into the devcontainer package to produce a Dockerfile to use for a non-kaniko-based build, the resulting Dockerfile needs to mount the feature directories into the relevant RUN stages in order to access the feature install script and associated files.

@aaronlehmann aaronlehmann requested a review from kylecarbs March 29, 2024 22:07
When running a build within envbuilder, files created on the filesystem
by this Go code are available at the same paths within the container
build process. However, if external code calls into the `devcontainer`
package to produce a Dockerfile to use for a non-kaniko-based build, the
resulting Dockerfile needs to mount the feature directories into the
relevant RUN stages in order to access the feature install script and
associated files.
Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@aaronlehmann aaronlehmann merged commit 0a027c3 into coder:main Mar 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants