You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/03/31 23:07:00 UTC

[jira] [Commented] (SOLR-15891) The Solr docker image is roughly 1.5-2x the size it needs to be

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

ASF subversion and git services commented on SOLR-15891:
--------------------------------------------------------

Commit 2483ad325843b51eaa2b8f199eadacd40013d9c9 in solr's branch refs/heads/main from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=2483ad3 ]

SOLR-15891: Delete tgz from the official image after untarring (#782)



> The Solr docker image is roughly 1.5-2x the size it needs to be
> ---------------------------------------------------------------
>
>                 Key: SOLR-15891
>                 URL: https://issues.apache.org/jira/browse/SOLR-15891
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Docker
>    Affects Versions: 9.0
>            Reporter: Houston Putman
>            Assignee: Houston Putman
>            Priority: Blocker
>             Fix For: 9.0
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Currently the local (and test-official) docker images built off of 9x (main) are 1.5-2x the size of the docker images created for 8.x releases.
> You can see this in the [official nightly builds docker image|https://hub.docker.com/r/apache/solr-nightly/tags], when you click on the image tag.
> The reason for this is we change the permission of each Solr file/directory that we have either 1) just downloaded (in the official docker image) or 2) just copied (in the local docker image), in this line: [https://github.com/apache/solr/blob/main/solr/docker/templates/Dockerfile.body.template#L34]
> One easy fix is to do this step in the same download step in the official docker file, so that no additional space is used up for that layer. However, since the copy task does not allow for changing permissions at the same time, local docker builds will continue to have the same size issues.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org