Build development environments from a Dockerfile on Docker, Kubernetes, and OpenShift. Enable developers to modify their development environment quickly.
Apache License 2.0
130
stars
25
forks
source link
fix(envbuilder): RunCacheProbe: remove references to constants.MagicDir #315
RunCacheProbe is likely to execute without root permissions (e.g. via Terraform provider).
Writing to constants.MagicDir will fail in this case due to lack of permission.
Instead, use buildTimeWorkspaceFolder to write a Dockerfile when compiling from a devcontainer.json.
Relates to https://github.com/coder/envbuilder/issues/314
RunCacheProbe
is likely to execute without root permissions (e.g. via Terraform provider). Writing toconstants.MagicDir
will fail in this case due to lack of permission. Instead, usebuildTimeWorkspaceFolder
to write aDockerfile
when compiling from adevcontainer.json
.