potiuk commented on issue #4483: [AIRFLOW-3673] Add official dockerfile
URL: https://github.com/apache/airflow/pull/4483#issuecomment-454155148
 
 
   I think we can have some basee image with minimal apt-get dependencies and 
then build both Dockers "forking" from that - maybe we can use multi-stage 
builds for that. Though I will have to check if there is a way to have 
dependencies between images built via DockerHub. 
   
   If not then it would make sense to have separate Dockerfiles for every 
Docker. I just finalize PR for optional project id for GCP operators, so this 
week I can build some POC and perform the calculations to show the savings from 
multiple layers.
   
   Actually we probably would like to incorporate in similar process a third 
image - one that is used as  Travis CI (currently it is in separate project, 
but it probably makes sense to build it in the main airflow project). I 
actually thinke it would be greate to have more than one image for that - 
separate images for different versions of python is probably the way to go for 
Travis. See the discussion/comments in AIP-7:  
https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-7+Simplified+development+workflow
 
   
   I would also love to be able to use the Images as base for Google Cloud 
Build we are running for automated System Tests with GCP (see AIP-4: 
https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-4+Support+for+System+Tests+for+external+systems)
 
   
   I don't think we will be far from that as long as layered approach is 
implemented.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to