-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect implementation of include
#999
Comments
include
include
same issue Traceback (most recent call last): |
Describe the bug
Looking at compose spec (which
docker-compose
conforms with here), this should be valid:Yet, this causes a runtime error at
podman-compose/podman_compose.py
Line 1835 in daab93b
Looking at the implementation, only the "short syntax" is supported and attempting use of the long syntax causes a crash.
This also means that it's not possible to make use of
project_directory
orenv_file
for includes.Looking at the current implementation, it also seems that even if this is addressed, it would still not properly merge multiple entries in
env_file
unless the handling of env files is reworked.Additional context
Going back in history, this was always part of the
include
spec, so podman-compose does not implement an older version here - it's simply incorrect/incomplete?Related:
include
fromcompose-spec
#726include
fromcompose-spec
#727The text was updated successfully, but these errors were encountered: