You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/10/17 20:31:07 UTC

[GitHub] [druid] tdt17 commented on pull request #10506: Reduce docker image size by half

tdt17 commented on pull request #10506:
URL: https://github.com/apache/druid/pull/10506#issuecomment-711076256


   @suneet-s the total 900mb of the docker image are manly produced by two docker commands and their produced layers. The second layer is produced by exact the same data, but with different rights (by chown -R druid:druid /opt).
   @gianm Thanks for pointing that.
   Smaller images are good for faster startup in environments that need to download/upload the image.
   <img width="505" src="https://user-images.githubusercontent.com/2719698/96352717-bec33d00-10c5-11eb-90b7-471eaa359639.png">
   I don't have an automated test and i don't know your testing for your Dockerfile either, but i use this changes for an own docker image (based on the changes i did) in our environment (tested and in production). 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org