[ https://issues.apache.org/jira/browse/RANGER-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17934006#comment-17934006 ]
Abhishek Kumar commented on RANGER-5160: ---------------------------------------- Thanks [~adoroszlai] for proposing the above changes, here is RANGER-3746 which addressed docker image size issues and has a much reduced memory footprint along with other optimizations. thanks. > Reduce image size > ----------------- > > Key: RANGER-5160 > URL: https://issues.apache.org/jira/browse/RANGER-5160 > Project: Ranger > Issue Type: Sub-task > Components: docker > Reporter: Attila Doroszlai > Assignee: Attila Doroszlai > Priority: Major > > Docker image size is affected by content from each layer. Thus, build steps > like the following inflate image size: > {code} > COPY tarball > RUN extract tarball > {code} > {code} > COPY contents dir/ > RUN chmod/chown ... dir > {code} > These can be improved by: > - using {{ADD}}, which can extract tarball, or pre-extracting the tarball > locally > - specifying chmod and chown for {{COPY}} -- This message was sent by Atlassian Jira (v8.20.10#820010)