spiegel_podman/pkg/specgen
Daniel J Walsh afa823e4e7
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>
2020-08-10 12:46:05 -04:00
..
generate Fix handling of working dir 2020-08-10 12:46:05 -04:00
config_unsupported.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
container_validate.go Fix handling of working dir 2020-08-10 12:46:05 -04:00
namespaces.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
pod_validate.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
podspecgen.go Fix container and pod create commands for remote create 2020-07-10 11:22:23 -04:00
specgen.go Add --umask flag for create, run 2020-07-21 14:22:30 -04:00