Skip to content

bug: devcontainer.Compile references global variable #314

Closed
coder/terraform-provider-envbuilder
#33
@johnstcn

Description

@johnstcn

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions