dayrize-usecase/airflow_img/Dockerfile

13 lines
452 B
Docker
Raw Normal View History

2023-06-25 20:53:51 +02:00
FROM us-docker.pkg.dev/cloud-airflow-releaser/airflow-worker-scheduler-2-5-1/airflow-worker-scheduler-2-5-1:composer-2.3.1-airflow-2-5-1
USER root
COPY airflow-entrypoint.sh /usr/local/bin/airflow-entrypoint.sh
COPY airflow-init.sh /usr/local/bin/airflow-init.sh
RUN chmod +x /usr/local/bin/airflow-entrypoint.sh /usr/local/bin/airflow-init.sh
RUN pip install --upgrade dbt-postgres
USER airflow
ENTRYPOINT ["/usr/local/bin/airflow-entrypoint.sh"]