ashb commented on issue #6266: [AIRFLOW-2439] Production Docker image support including refactoring of build scripts - depends on [AIRFLOW-5704] URL: https://github.com/apache/airflow/pull/6266#issuecomment-544516428 > This is exactly what I can do using --copy-from as described above Are you thinking something like ```Dockerfile FROM base as compiler RUN apt-get install build-essential mysql-dev ... RUN pip install --local -e '.[$extras]' && pip uninstall --yes apache-airflow FROM base as prod RUN apt-get install libmysql COPY --from=compiler /home/airflow/.local /home/airflow/.local ``` Or have I misunderstood you?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services