Open akihikodaki opened 1 week ago
Just wanted to mention that this also affects the shorthand notation podman build -o -
. A workaround is to redirect build messages to stderr:
$ podman build -o type=tar,dest=/dev/fd/3 /path/to/context 3>&1 >&2 | file -
STEP 1/1: FROM debian:stable
COMMIT
/dev/stdin: POSIX tar archive
Issue Description
podman build -o type=tar,dest=-
mixes tar and messages into stdout.Steps to reproduce the issue
Steps to reproduce the issue
podman build -o type=tar,dest=- /path/to/context | tar xC /path/to/destination
Describe the results you received
Describe the results you expected
It should not result in an error.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
No response