You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2019/11/12 21:41:00 UTC

[jira] [Resolved] (AIRFLOW-5886) Copying sources in Dockerfile can be selective

     [ https://issues.apache.org/jira/browse/AIRFLOW-5886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Potiuk resolved AIRFLOW-5886.
-----------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

> 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: 2.0.0
>
>
> 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)