OCI recipes don't allow programmatic ARG values
Bug #1902010 reported by
Barry Price
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned |
Bug Description
Ideally we'd like to be able to do something like this:
BUILD_DATE=$(date -u +'%Y-%m-
There may of course be security reasons why we don't want to parse free-form shell code, but some other mechanism of passing through at least a build date/time, ideally with a configurable format, would at least unblock adding e.g. org.opencontain
To post a comment you must log in.
I'm indeed not at all keen on passing through free-form shell code, and would like to see an analysis of why this sort of thing has to be done via ARG values at all rather than being computed by the Dockerfile.