[ 
https://issues.apache.org/jira/browse/IMPALA-8425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16862389#comment-16862389
 ] 

Joe McDonnell commented on IMPALA-8425:
---------------------------------------

I read somewhere that using chown can increase docker container size because 
the permission change introduces a new layer. COPY has a --chown option that 
would avoid this. I did a basic hack of this, and the container size dropped 
from 1.72GB to 1.03GB. I need to run tests and clean it up.

> Evaluate size of Impala docker containers
> -----------------------------------------
>
>                 Key: IMPALA-8425
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8425
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Infrastructure
>            Reporter: Tim Armstrong
>            Assignee: Joe McDonnell
>            Priority: Major
>
> We should take a look at the size of the containers produced by the build and 
> see if it is worth optimising. I think the main contributor to size right now 
> is likely the impala binary, which we could shrink by stripping debug 
> symbols. We could also look at using a different base image from Ubuntu.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to