singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Lamb (JIRA)" <>
Subject [jira] [Created] (SINGA-358) Docker containers could be reorganized
Date Wed, 09 May 2018 03:44:00 GMT
James Lamb created SINGA-358:

             Summary: Docker containers could be reorganized
                 Key: SINGA-358
             Project: Singa
          Issue Type: Improvement
            Reporter: James Lamb

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 cache
 * 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