Before doing anything, ensure that we have at least two arguments.
Correct misuse of $() when ${} was intended, to reference environment
variables.
Use `buildah config --created-by` rather than `--add-history` to set the
CreatedBy field when committing new images, so that they only add one
history entry.
Set timestamps on .src.rpm files to their build date, rather than 0.
Commit new images using --omit-timestamp, to make their own timestamps
predictable.
Only name the final image.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Changing the time on all SRC RPMS to EPOCH So the images will always have
the same date on them. This prevents us from getting variance and allows the
blobs to be shared.
Also now commit each layer and start a new container based on the previous
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>