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

bug: devcontainer.Compile references global variable #314

Closed
johnstcn opened this issue Aug 13, 2024 · 0 comments · Fixed by coder/terraform-provider-envbuilder#33
Closed
Assignees
Labels
bug Something isn't working

Comments

@johnstcn
Copy link
Member

johnstcn commented Aug 13, 2024

If you try to compile a Dockerfile from a devcontainer.json as non-root, you will get this error:

Error: compile devcontainer.json: open dockerfile: mkdir /.envbuilder: permission denied

(Alternatively, you may also get a "read-only filesystem" error.)

We should instead write the Dockerfile into the build context and not just use MagicDir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant