Skip to content
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

Fixes #908: Add support for multi-line environment files #909

Closed
wants to merge 1 commit into from

Conversation

hedayat
Copy link
Contributor

@hedayat hedayat commented Apr 8, 2024

TBH, I don't find the part of compose spec which specifies this. Actually, it might not be according to the spec. However, this is what docker compose supports... !

Signed-off-by: Hedayat Vatankhah <hedayat.fwd@gmail.com>
@@ -987,7 +987,12 @@ async def container_to_args(compose, cnt, detached=True):
env_file = [env_file]
for i in env_file:
i = os.path.realpath(os.path.join(dirname, i))
podman_args.extend(["--env-file", i])
dotenv_dict = {}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a test. See pytests directory

Copy link
Collaborator

@p12tic p12tic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but needs tests

@p12tic
Copy link
Collaborator

p12tic commented May 28, 2024

This PR has been merged via #949.

@p12tic p12tic closed this May 28, 2024
@mokibit
Copy link
Contributor

mokibit commented Jun 3, 2024

Tests added in #949.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants