yiga2 commented on pull request #18915: URL: https://github.com/apache/airflow/pull/18915#issuecomment-942802491
I still believe there is an use case for executing stuff BEFORE the entrypoint. In our case, we override the DB pointer dynamically, depending on some values in the ENV -> can only be set at runtime. Hence must run **before** the entrypoint as the latter (`entrypoint_prod`) performs a DB check, which we want (+ create user). Our way around it: build an image with our `my_entrypoint.sh` as entrypoint, which will do all ENV settings, and then exec the base entrypoint passing on any argument. -- 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]
