aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/images/rm.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-08-05 16:28:47 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-08-20 12:16:53 -0400
commitfc24c0cc102de911387ed6b768173604fecb1eee (patch)
tree91e0df410ea10470c03375afc8719ac067538acd /cmd/podman/images/rm.go
parent32f0c8f624e0400a6decf219d6fe889f12272729 (diff)
downloadpodman-fc24c0cc102de911387ed6b768173604fecb1eee.tar.gz
podman-fc24c0cc102de911387ed6b768173604fecb1eee.tar.bz2
podman-fc24c0cc102de911387ed6b768173604fecb1eee.zip
Fix handling of working dir
Buildah and podman build can create images without a working dir. FROM fedora WORKDIR /test If you build this image with caching twice, the second time the image will not have a working dir. Similarly if you execute podman run --workdir /foobar fedora It blows up since the workingdir is not created automatically. Finally there was duplicated code for getting the workingdir out of an image, that this PR removes. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/images/rm.go')
0 files changed, 0 insertions, 0 deletions