this repo about how to custom airflow docker image
- change base image in first line
Dockerfile
FROM <image>/<tag>
- add python packages in
requirement.txt
- build custom image
docker build --tag <your_docker_repo>:<tags> .
example
docker build --tag myuser/custom-airflow:2.1.4-python3.6-v1.0 .
- push
docker push your_docker_repo>:<tags>
example
docker push myuser/custom-airflow:2.1.4-python3.6-v1.0
- using
change airflow image to custom image