diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-12-05 13:10:59 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-12-05 13:19:47 -0500 |
commit | c4fbd2fc9489b318298ada61e4f98d0097bc0b0d (patch) | |
tree | 918ffb9135f48948b05ce6610a1658107420c82d /vendor | |
parent | 001d06d7f6780797853503a2f278c49fbc6d8c5c (diff) | |
download | podman-c4fbd2fc9489b318298ada61e4f98d0097bc0b0d.tar.gz podman-c4fbd2fc9489b318298ada61e4f98d0097bc0b0d.tar.bz2 podman-c4fbd2fc9489b318298ada61e4f98d0097bc0b0d.zip |
Move Commit() to new parsing for --change
It turns out we had two independent parsing impkementations for
Dockerfile instructions out of --change. My previous commit fixed
the one used in --change, but as I discovered to my dismay,
commit used a different implementation. Remove that and use the
new parsing implementation instead.
While we're at it, fix some bugs in the current commit code. The
addition of anonymous named volumes to Libpod recently means we
can now include those in the image config when committing. Some
changes (VOLUME, ENV, EXPOSE, LABEL) previously cleared the
config of the former image when used; Docker does not do this, so
I removed that behavior.
Still needs fixing: the new implementation does not support
ONBUILD, while the old one did.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'vendor')
0 files changed, 0 insertions, 0 deletions