automation-tests/cmd/podman/images
Daniel J Walsh 332b47fefb
Check on client side for Containerfile, if none specified
Fixes: https://github.com/containers/podman/issues/16354

Currently we check on the server side, which ends up generating a bad
error message.

$ podman --remote build foo/
ERRO[0000] While reading directory /home/dwalsh/go/src/github.com/containers/podman/foo: EOF
Error: stat /var/tmp/libpod_builder1249622306/build/Dockerfile: no such file or directory

With this change you will get

./bin/podman --remote build foo/
Error: Containerfile not specified and no Containerfile or Dockerfile found in context directory, /home/dwalsh/podman/foo

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-05-08 13:58:37 -04:00
..
build.go Check on client side for Containerfile, if none specified 2023-05-08 13:58:37 -04:00
buildx.go bump go module to version 4 2022-01-18 12:47:07 +01:00
diff.go Remove unused archive flag from diff commands 2022-05-25 08:50:12 -07:00
exists.go bump go module to version 4 2022-01-18 12:47:07 +01:00
history.go Fixes format inconsistencies with docker for certain history fields 2023-04-19 00:20:47 +02:00
image.go bump go module to version 4 2022-01-18 12:47:07 +01:00
import.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
inspect.go shell completion: update podman inspect --type options 2022-05-19 14:04:22 +02:00
list.go Fix stutters 2022-09-10 07:52:00 -04:00
load.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
mount.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
prune.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pull.go Adding encryption decryption feature 2022-11-24 04:53:59 -05:00
push.go support `--digestfile` for remote push 2023-04-21 10:28:40 +02:00
rm.go remove image podman no prune 2022-08-04 14:55:03 -04:00
save.go use cached containers.conf 2022-10-21 14:03:14 +02:00
scp.go cmd: drop special handling for "scp" 2023-03-03 14:27:54 +01:00
search.go Add search --cert-dir, --creds 2023-03-15 15:01:26 +09:00
sign.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
tag.go bump go module to version 4 2022-01-18 12:47:07 +01:00
tree.go bump go module to version 4 2022-01-18 12:47:07 +01:00
trust.go bump go module to version 4 2022-01-18 12:47:07 +01:00
trust_set.go Add support for sigstoreSigned in (podman image trust set) 2022-08-25 01:50:43 +02:00
trust_show.go Cleanup display of trust with transports 2022-02-22 15:08:58 -05:00
unmount.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
untag.go bump go module to version 4 2022-01-18 12:47:07 +01:00
utils_linux.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
utils_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
version.go Add podman buildx version support 2022-12-09 12:03:22 -05:00