FROM ubuntu:18.04 COPY . /app RUN make /app && make install WORKDIR /bin/project ENTRYPOINT ["/bin/project"] CMD ["--help"]
docker build . -t yourcompany/airflow:1.10.11-BUILD_Id
FROM apache/airflow:1.10.11 # change to root user temporarily USER root RUN apt-get update \ && apt-get install -y --no-install-recommends \ emacs \ && apt-get autoremove -yqq --purge \ && apt-get clean \ && rm -rf '/var/lib/apt/lists/*' # Change back to the airflow user USER airflow # Add extra dependencies RUN pip install --user numpy # Embed DAGs (Optionally) - DAGs can be baked in but also # they can be git-synced or mounted from shared volume COPY --chown=airflow:root dags-folder $(AIRFLOW_HOME)/dags/
./breeze build-image --help
See BREEZE.rst in the Airflow repo