[note] Fixing Git Installation Issues in apache/airflow:2.10.2 Docker Image
๐ Introduction
The article discusses the issue of permission errors when attempting to install packages from GitHub while using the apache/airflow:2.10.2 Docker image. It presents a solution that involves temporarily switching to the root user to install โgitโ and then reverting to the airflow user for further installations.
๐ Quick Start
1 | FROM apache/airflow:slim-2.10.2 |
๐ Recap
- Permission errors can occur with the apache/airflow:2.10.2 image when installing packages from GitHub.
- To resolve this issue, install git as the root user before switching back to the airflow user.
- The Dockerfile provided demonstrates the steps to perform these actions.
[note] Fixing Git Installation Issues in apache/airflow:2.10.2 Docker Image
https://hsiangjenli.github.io/blog/note_airflow_docker_permission_error/