deis / deis/builder

Use build args to capture build time data

Open
#450 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
40
Forks
41
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.