# Production-shaped image: the released airflow-dq baked in at BUILD time.
# (Never use _PIP_ADDITIONAL_REQUIREMENTS install-at-boot outside demos.)
FROM apache/airflow:3.1.0

# Pin the release. For production, prefer a constraints-based install so every
# transitive dependency matches your Airflow/Python version exactly (this is what
# the project's CI verifies):
#
#   RUN pip install --no-cache-dir airflow-dq==0.2.1 \
#       --constraint https://raw.githubusercontent.com/apache/airflow/constraints-3.1.0/constraints-3.12.txt
#
RUN pip install --no-cache-dir airflow-dq==0.2.1
