coder / envbuilder

Build development environments from a Dockerfile on Docker, Kubernetes, and OpenShift. Enable developers to modify their development environment quickly.
Apache License 2.0
123 stars 24 forks source link

fix: ensure prefixed commands do not clobber legacy default values #190

Closed johnstcn closed 3 months ago

johnstcn commented 3 months ago

ENVBUILDER_INIT_SCRIPT and ENVBUILDER_INIT_COMMAND default values appear to clobber the values of INIT_SCRIPT and INIT_COMMAND if set. It looks like we had already been doing something similar for IGNORE_PATHS, so applied the same treatment and added an integration test to ensure overriding both of these works.