incubator-airflow/docker-context-files
Jarek Potiuk ed1825c026
Production images on CI are now built from packages (#12685)
So far, the production images of Airflow were using sources
when they were built on CI. This PR changes that, to build
airflow + providers packages first and install them
rather than use sources as installation mechanism.

Part of #12261
2020-12-06 23:36:33 +01:00
..
README.md Production images on CI are now built from packages (#12685) 2020-12-06 23:36:33 +01:00

README.md

This folder is part of the Docker context.

Most of other folders in Airflow are not part of the context in order to make the context smaller.

The Production Dockerfile and the CI one Dockerfile.ci copies the docker-context-files folder to the image context - in case of production image it copies it to the build segment, co content of the folder is available in the /docker-context-file folder inside the build image. You can store constraint files and wheel packages there that you want to install as PYPI packages and refer to those packages using --constraint-location flag for constraints or by using --install-from-local-files-when-building flag.

By default, the content of this folder is .gitignored so that any binaries and files you put here are only used for local builds and not committed to the repository.