potiuk commented on pull request #18068: URL: https://github.com/apache/airflow/pull/18068#issuecomment-915363976
> Do we need both `--single-child` and the env var? Yeah - for earlier version of images we need it. For newer images, we don't want to tell users to use the env variable (and you need to set it from outside, because this is an init process, and you cannot set it in entrypoint. So we need to have two mechanism - one for older images, and one in the new image. However, I was not 100% sure if we can set it as default variable in the image but I can try it as well (to set it as ENV in the image). I believe so (and honestly I see no other way) so likely setting the env in the image rather than flag might be a better choice (because then you should be able to disable it by setting it to 1) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
