You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
podman-compose does not propagate exit statuses from podman build
To Reproduce
FROM docker.io/alpine:latest
RUN exit 1
services:
minimal:
build:
context: .
Output
$ podman build .
STEP 1/2: FROM docker.io/alpine:latest
STEP 2/2: RUN exit 5
Error: building at STEP "RUN exit 5": while running runtime: exit status 5
$echo $?
5
$ podman-compose build
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.9.3
podman build -f ./Dockerfile -t podman_minimal .
STEP 1/2: FROM docker.io/alpine:latest
STEP 2/2: RUN exit 5
Error: building at STEP "RUN exit 5": while running runtime: exit status 5
exit code: 5
$ echo $?
0
Expected behavior
podman-compose should propagate the exit status from the failing build setp, or at a bare minimum return a non-zero code for failed build.
Actual behavior
Always return status 0.
Version
$ podman-compose version
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.9.3
podman-compose version 1.0.6
podman --version
podman version 4.9.3
exit code: 0
Environment:
OS: WSL
The text was updated successfully, but these errors were encountered:
Describe the bug
podman-compose does not propagate exit statuses from podman build
To Reproduce
Output
Expected behavior
podman-compose should propagate the exit status from the failing build setp, or at a bare minimum return a non-zero code for failed build.
Actual behavior
Always return status 0.
Version
Environment:
The text was updated successfully, but these errors were encountered: