Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Use build args to capture build time data #71

Open
jchauncey opened this issue Nov 10, 2016 · 1 comment
Open

Use build args to capture build time data #71

jchauncey opened this issue Nov 10, 2016 · 1 comment

Comments

@jchauncey
Copy link
Member

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
@Cryptophobia
Copy link

This issue was moved to teamhephy/fluentd#6

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

No branches or pull requests

3 participants