-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Implement args syntax of build section in compose environment #2661
Comments
@bmicklea I can start working on that Wednesday next week. If it's not too late I would love to take that. |
That's great @l0rd thank you! |
This is critical to M6. |
I'm working on that. I will provide an update tomorrow. |
Thanks very much Mario! |
@bmicklea I will provide a PR for the first task tomorrow, monday in the worst case. The second task (add possibility to forbid some names of args or prefixes) is not clear to me. Why should we forbid some names/prefixes? Which ones are we going to forbid? Since @garagatyi is on vacation can someone else can answer my questions? |
Thanks Mario, that's great news! I am not sure what Alex what thinking with that one Mario - are there perhaps args or prefixes that could cause bad behaviors in the system? @skabashnyuk @gazarenkov is there anyone else who might have an idea of what Alex was considering with his second subtask? |
@bmicklea @skabashnyuk @gazarenkov @garagatyi I've submitted PR #2749 to address the first task. For the second task ("add possibility to forbid some names of args or prefixes") it's maybe related to some CHE environment variables that we don't want to be overwritten by users? |
@l0rd we will split this into two issues. Your PR is fine to fix the first task and we will move the second task to its own issue. |
Second part of this issue is being separately tracked with #2760. |
@bmicklea that makes sense |
The idea of the limitation is that in case of usage of docker management tool such as Swarm args can have impacts on the system where image is built. I don't have any particular example of such vulnerability, it is just a suggestion that there are some. |
Closeing - PR merged. Thanks l0rd! |
Compose supports build arguments https://docs.docker.com/compose/compose-file/#/args .
This feature should not support evaluation of value of arg from environment of host.
Tasks:
The text was updated successfully, but these errors were encountered: