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/15 08:28:02 UTC

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

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


   > @tdt17 can you explain what I'm supposed to be seeing in the docker hub link. I'm not very familiar with this. Thanks!
   
   I think the issue is that the `chown -R druid:druid /opt` line modifies the entire /opt directory, which is large, so the `/bin/sh -c addgroup -S -g` layer in that link is really big. (Docker stores images as a series of layers that are sort of like diffs from the previous layer.) By doing the chown inline with the copy, we eliminate that extra layer.


----------------------------------------------------------------
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