docker-builder icon indicating copy to clipboard operation
docker-builder copied to clipboard

Allow Injection of ENV variables

Open rafecolton opened this issue 9 years ago • 5 comments

into the Dockerfile. Allow them to be retrieved from the docker-builder process env

rafecolton avatar Jun 29 '14 03:06 rafecolton

:clap: :hatching_chick:

jszwedko avatar Jun 30 '14 13:06 jszwedko

:thumbsup: WANT

meatballhat avatar Jun 30 '14 15:06 meatballhat

Another use case for this would be to inject the Travis CI build number. Use case would be as follows:

  • Use https://github.com/travis-ci/docs-travis-ci-com/blob/3570751312e77df17ae3414e0e8cd30a624421a8/user/artifacts.md to have Travis upload the artifacts
  • Refer to build and job number in Dockerfile to pull down the artifact from S3

jszwedko avatar Jul 29 '14 18:07 jszwedko

I would vote for needed!

jszwedko avatar Jul 29 '14 18:07 jszwedko

Removing "needed?" label, per feedback

rafecolton avatar Jul 29 '14 18:07 rafecolton