Forked Airflow image with Google Cloud SDK and kubectl preinstalled for GCP-native Airflow deployments and Kubernetes operators.
This image extends apache/airflow:2.11.0-python3.11 by installing Google Cloud SDK (gcloud) and kubectl. It enables tasks that require GCP authentication, GCS/BigQuery interaction, and Kubernetes operations (e.g., K8s/GKE operators, sidecar sync with lsyncd).
- Base: apache/airflow:2.11.0-python3.11
- Google Cloud SDK (configurable version)
- kubectl
- Python 3.11 toolchain and essentials
- lsyncd config support
# Build the image
./build.sh
# Or manually
docker build -t airflow-gcp .CLOUD_SDK_VERSION– gcloud SDK version (default set in Dockerfile)GCLOUD_HOME– /opt/google-cloud-sdkPATHincludes gcloud and kubectl
- Authenticate via service account:
gcloud auth activate-service-account --key-file /path/to/sa.json
- Configure project/region:
gcloud config set project <PROJECT_ID> gcloud config set compute/region <REGION>
- Use Kubernetes operators or invoke
kubectldirectly from tasks
requirements_main.txt– core Python dependencies installed system-widerequirements_fastbi.txt– additional Fast.BI prerequisites
- Documentation: https://wiki.fast.bi
- Issues: https://github.com/fast-bi/airflow-gcp/issues
- Email: support@fast.bi
See LICENSE (inherits Apache Airflow licensing; this repo applies its own license file for additions).