singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wangwei (JIRA)" <>
Subject [jira] [Commented] (SINGA-358) Docker containers could be reorganized
Date Tue, 03 Jul 2018 05:46:00 GMT


wangwei commented on SINGA-358:

sure. please close it. thanks.

> Docker containers could be reorganized
> --------------------------------------
>                 Key: SINGA-358
>                 URL:
>             Project: Singa
>          Issue Type: Improvement
>            Reporter: James Lamb
>            Priority: Trivial
>              Labels: Docker
> I would like to propose a few changes to the Dockerfiles found in tool/:
> [|]
> The size of the resulting image can be reduced by making the following changes:
>  * consolidating all RUN commands into a single RUN layer (reducing the number of layers)
>  * running {color:#14892c}yum clean all{color} (on CentOS) to clear out the package
>  * running {color:#14892c}conda clean --all{color} (in the conda container) to clear
out cached package tarballs, abandoned package versions, and other build artifacts from all
the libraries that are conda installed
> I would also like to propose breaking out package installs onto multiple lines for readability
(both of the Dockerfile and diffs in git).
> I will be submitting a PR on GitHub shortly. Generating this issue first so I can tag
my PR to it.

This message was sent by Atlassian JIRA

View raw message