box-builder / box

A mruby-based Builder for Docker Images
https://box-builder.github.io/box/
Other
238 stars 19 forks source link

Variable declarations #247

Closed erikh closed 7 years ago

erikh commented 7 years ago

getenv() causes trouble with the OS X support; unfortunately it's nearly impossible to fix because of limitations in docker's ability to assume the environment.

What I'd like to propose is a deprecation, or at least, less recommended use of the environment as variables. A var() function could be brought in and a -v/--var flag could be repeated to set key=value pairs -- similarly to terraform.