Closed uosis closed 1 week ago
Describe the bug
https://github.com/containers/podman-compose/pull/686 broke support for using Containerfile instead of Dockerfile for builds. Dockerfile hardcoded here:
Containerfile
Dockerfile
https://github.com/containers/podman-compose/pull/686/files#diff-956dd8b5765533c7e8f5bb94c8a1b4735dfcfd9cff54829f3494b87460fab50bR1297
which causes this logic to be skipped:
https://github.com/containers/podman-compose/blob/main/podman_compose.py#L2238
To Reproduce
Try to build any compose file that has build: . or similar and Containerfile instead of Dockerfile.
build: .
Expected behavior Containerfile to be detected as before. Actual behavior Containerfile not detected
Output
$ podman-compose version podman-compose version 1.1.0 podman version 5.0.2
Environment:
Describe the bug
https://github.com/containers/podman-compose/pull/686 broke support for using
Containerfile
instead ofDockerfile
for builds.Dockerfile
hardcoded here:https://github.com/containers/podman-compose/pull/686/files#diff-956dd8b5765533c7e8f5bb94c8a1b4735dfcfd9cff54829f3494b87460fab50bR1297
which causes this logic to be skipped:
https://github.com/containers/podman-compose/blob/main/podman_compose.py#L2238
To Reproduce
Try to build any compose file that has
build: .
or similar andContainerfile
instead ofDockerfile
.Expected behavior
Containerfile
to be detected as before. Actual behaviorContainerfile
not detectedOutput
Environment: