[
https://issues.apache.org/jira/browse/AIRFLOW-5886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973250#comment-16973250
]
ASF subversion and git services commented on AIRFLOW-5886:
----------------------------------------------------------
Commit c65716041bd2bc4d74265a1e4110ed352f370f05 in airflow's branch
refs/heads/v1-10-test from Jarek Potiuk
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=c657160 ]
[AIRFLOW-5886] Selective copying of sources in Docker image (#6538)
This change further improves time of rebuilds for docker image when your
sources change (very useful in case of building kubernetes image). It adds only
directories that are needed (it is synchronised with .dockerignore and local
mounts) and in the sequence that reflects frequency of changes. Also pip
install is not done again after sources change (there is no point) so the
build is much faster when only sources or test file change.
(cherry picked from commit cc754f7f74a741e01277bea6d5586e1dd6d64af8)
> Copying sources in Dockerfile can be selective
> ----------------------------------------------
>
> Key: AIRFLOW-5886
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5886
> Project: Apache Airflow
> Issue Type: Sub-task
> Components: ci
> Affects Versions: 2.0.0, 1.10.6
> Reporter: Jarek Potiuk
> Priority: Major
> Fix For: 1.10.7
>
>
> This change will further improve time of rebuilds for docker image when your
> sources change (very useful in case of building kubernetes image). It adds
> only directories that are needed (it is synchronised with .dockerignore and
> local mounts) and in the sequence that reflects frequency of changes. Also
> pip install is not done again after sources change (there is no point) so theĀ
> build is much faster when only sources or test file change.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)