Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use build args to capture build time data #15

Open
Cryptophobia opened this issue Mar 13, 2018 · 0 comments
Open

Use build args to capture build time data #15

Cryptophobia opened this issue Mar 13, 2018 · 0 comments

Comments

@Cryptophobia
Copy link
Member

From @jchauncey on November 10, 2016 17:51

Acceptance Criteria:

  • Use the --build-args flag when running docker build to pass in the following items (and more if needed)
  • BUILD_DATE
  • VERSION

You will need to do the following in the dockerfile to persist the data into the image:

ARG VERSION
ARG BUILD_DATE
ENV VERSION $VERSION
ENV BUILD_DATE $BUILD_DATE

Copied from original issue: deis/router#289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant