feat(init): adding init image for auto creation of connections

This commit is contained in:
2023-05-10 16:20:58 +02:00
parent d84b111049
commit e21444bf46
4 changed files with 61 additions and 15 deletions

View File

@ -0,0 +1,11 @@
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" ]