airflow-kustom/images/airflow-init/Dockerfile

11 lines
262 B
Docker
Raw Normal View History

FROM reg.cadoles.com/proxy_cache/apache/airflow:2.5.3-python3.10
USER root
COPY --chown=airflow:root ./scripts/ ${AIRFLOW_HOME}/scripts/
RUN chmod +x ./scripts/*
USER airflow
ENTRYPOINT [ "/usr/bin/dumb-init", "--" ]
CMD [ "./scripts/create-connections.sh" ]