-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove AIRFLOW_GID from Docker images (#18747)
The AIRFLOW_GID parameter was in the images for historical reasons, however for a long time we recommend everyone to use GID=0 in order to make it possible to run the image with Arbitrary UID. Setting different group than 0 has NO VALUE actually. You can still override the group of user when starting the container, so the only real difference is that the "airflow" unmodifiable files such as python code belong to different group, which has no real value. You can still use whatever group you want for mounted files and modifiable resources. Airflow Docker image will work perfectly fine when the main group of the user is 0 (and we also have to remember that if the user belongs to other groups in the host, it will also belong to those group inside the container, AIRFLOW_GID has only influence on primary group of that user IN-CONTAINER (not outside of it). Removing AIRFLOW_GID seems like best choice for Airflow 2.2. Fixes: #18709
- Loading branch information
Showing
5 changed files
with
26 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters