Use build args to capture build time data
jchauncey opened this issue · 1 comments
jchauncey commented
Acceptance Criteria:
- Use the
--build-args
flag when runningdocker 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 commented
This issue was moved to teamhephy/router#15