Closed jayjun closed 7 years ago
It'll be good to have this. @bacongobbler when do you think it can be merged
I don't have time to bring them past the finish line. Feel free to take it up!
Should be fixed by #478 , #488 and https://github.com/deis/dockerbuilder/pull/114, https://github.com/deis/dockerbuilder/pull/117
As discussed in #450, config variables are passed as environment variables during build-time to buildpacks, but the same doesn't happen for Dockerfile deploys. In other words, we can't parameterise Docker builds.
The ARG primitive and
--build-arg
flag were introduced to pass build-time environment variables.I propose mapping config variables to Docker build-time variables to mirror buildpack behaviour.