potiuk commented on pull request #21145: URL: https://github.com/apache/airflow/pull/21145#issuecomment-1052008832
> @potiuk I could see that fix ownership is invoked only as part of PRODUCTION_IMAGE. Can you explain me why it has to be done that way? > > https://github.com/apache/airflow/blob/608b8c4879c188881e057e6318a0a15f54c55c7b/breeze#L3475-L3484 Becauss in CI image we set a "trap" in "entrypoint_ci" to fix the ownership (it happens when you exit or send termination signal). So this happens automatically for CI image: https://github.com/apache/airflow/blob/main/dev/breeze/doc/adr/0006-using-root-user-and-fixing-ownership-for-ci-container.md#decision In production image we do not do it automatically because it might not be the intention when production image is used in "production" so we do it only if we enter prod image via breeze (which is clear is a "development" setting). -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org