Commit Graph

2 Commits

Author SHA1 Message Date
Ed Santiago f0b79583bf use alpine, not centos, for various tests
Also: images json test: rewrite to actually check for
keys instead of just number of lines. Reason: when using
older podman to prefetch (in f29), 'history' key is lost,
giving us 26 lines of output instead of 30.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-02-06 14:12:59 -07:00
TomSweeneyRedHat f50b55df9a Fix --build-args handling
When passing an environment variable to a Containerfile using an `ARG` command,
the dry-run processing  for `COPY` and `ADD` isn't resolving the environment
variable for the source and is causing a failure.

Now convert the source if it's an environment variable to its value and then
proceed on.  The destination doesn't have a similar issue at this point
but we'll convert it too just in case.

Addresses: #1871

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #1874
Approved by: nalind
2019-10-02 20:36:04 +00:00