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

2.0.0beta1: Entrypoints with comma separated values are not correctly built #659

Closed
BillyBlaze opened this issue Jul 25, 2024 · 0 comments · Fixed by #663
Closed

2.0.0beta1: Entrypoints with comma separated values are not correctly built #659

BillyBlaze opened this issue Jul 25, 2024 · 0 comments · Fixed by #663
Labels
bug Something isn't working

Comments

@BillyBlaze
Copy link

When you have an entrypoint that requires a comma separated value then the image is not correctly built:

Example:

oci_image(
    base = "@wiremock",
    entrypoint = [
        "/docker-entrypoint.sh",
        '--permitted-system-keys="MY_HOST_V1,MY_HOST_V2"',
    ],
)

Outcome (with docker inspect):

"Entrypoint": [
  "/docker-entrypoint.sh",
  "--permitted-system-keys=\"MY_HOST_V1",
  "MY_HOST_V2\"",
]

I have tried to put the entrypoint within single quotes, double quotes, no qoutes and escaping the comma, but all lead to the same outcome.

@thesayyn thesayyn added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants