Attila Doroszlai created RANGER-5160: ----------------------------------------
Summary: 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 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)