-
Notifications
You must be signed in to change notification settings - Fork 330
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
fix: Env
should not be escaped
#1064
Conversation
We should really have some tests for these, can you show an example? |
Use cd examples/fly.io && nix run ../.. -- container copy shell && docker run --rm -it --entrypoint bash shell:latest -c 'ls "$DEVENV_ROOT"'
You can see the single quotes around |
This bug also affects docker exec "$(docker run --detach --rm -it shell:latest sleep infinity)" env
You can see the environment variables are incorrect. |
@domenkozar Can we fix this? |
I'm afraid this will break other things, we for sure added escaping to fix something in the past. |
I think it is never used to fix anything in the past
…On Mon, Apr 8, 2024 at 1:29 AM Domen Kožar ***@***.***> wrote:
I'm afraid this will break other things, we for sure added escaping to fix
something in the past.
—
Reply to this email directly, view it on GitHub
<#1064 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAES3OSE7KYFKJZ5QVOQUJDY4JIP3AVCNFSM6AAAAABFJ34RMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBSGE3DKMZXGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The current |
According to https://github.com/opencontainers/image-spec/blob/main/config.md:
The
VARVALUE
part does not understand shell escape or quotes.