We use Jinja2 templates when writing Dockerfiles to support enhanced programming features. Currently, we use the build.sh file in the corresponding Airflow image to generate the actual Dockerfile. We want to automate this to avoid accidentally forgetting to refresh the Dockerfiles based on changes in the templates.
Acceptance Criteria
Automatically refresh the Dockerfiles based on the Jinja2 templates.
Ensure that the output Dockerfiles continue to be added to the repository, as this is useful during code reviews.
Overview
We use Jinja2 templates when writing Dockerfiles to support enhanced programming features. Currently, we use the
build.sh
file in the corresponding Airflow image to generate the actual Dockerfile. We want to automate this to avoid accidentally forgetting to refresh the Dockerfiles based on changes in the templates.Acceptance Criteria
Additional Info
N/A