feat(init): adding init image for auto creation of connections
This commit is contained in:
11
images/airflow-init/Dockerfile
Normal file
11
images/airflow-init/Dockerfile
Normal 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" ]
|
Reference in New Issue
Block a user