Closed dfeyer closed 5 years ago
Why use env vars instead of command line flags (run docker-osx-dev -h
)?
I understand the need. Environment variables can be defined once and for all instead of building aliases or scripts to not have to repeat the parameters you always wants.
You can also use tools like rbenv-vars to set environment variables based on the project you are working on.
Fair enough. I'd be happy to accept a PR for this :) Should be straightforward to set the default values of many parameters to try to read an env var.
@brikis98 This is a PR!
Hahaha. So it is. Not sure how I missed that.
@dfeyer My apologies for the delay! Would you mind updating the README to mention these new env vars? I'd be happy to merge after.
This change allow to override some default, pretty useful for example, this help to override default file ownership like this: