Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-660

docker image size optimization

XMLWordPrintable

      as PTL i want to reduce the size of the SDC dockers.

      this will improve the build speed and the resources needed for SDC deployment locally and in production.

       

      items :

      1. move images to alpine, a light wait os.
      2. move all dockers bases to alpine (sanity jetty C* and ES).
      3. review the components installed in the docker and remove parts unneeded.
      4.  marge the base image for BE and  FE into a single base

      current image size:

      Name version size
      nexus3.onap.org:10001/openecomp/sdc-sanity 1.1-STAGING-latest 750MB
      nexus3.onap.org:10001/openecomp/sdc-cassandra 1.1-STAGING-latest 874MB
      nexus3.onap.org:10001/openecomp/sdc-kibana 1.1-STAGING-latest 487MB
      nexus3.onap.org:10001/openecomp/sdc-elasticsearch 1.1-STAGING-latest 541MB
      nexus3.onap.org:10001/openecomp/sdc-frontend 1.1-STAGING-latest 824MB
      nexus3.onap.org:10001/openecomp/sdc-backend 1.1-STAGING-latest 1.39GB
      nexus3.onap.org:10001/openecomp/base_sdc-sanity v1.0.0 676MB
      nexus3.onap.org:10001/openecomp/base_sdc-elasticsearch v1.0.0 541MB
      nexus3.onap.org:10001/openecomp/base_sdc-cassandra v1.0.0 753MB
      nexus3.onap.org:10001/openecomp/base_sdc-kibana v1.0.0 487MB
      nexus3.onap.org:10001/openecomp/base_sdc-frontend v1.0.0 749MB
      nexus3.onap.org:10001/openecomp/base_sdc-backend v1.0.0 1.05GB

       

       

      DOD:

      1. docker images are successfully built and are available in the staging repo.
      2. the SDC dockers are able to build and startup using the new base images.
      3.  the image size is significantly reduced based on the initial size currently available.
      4. the docker pass SDC sanity and Jenkins build flows.

            af732p af732p
            ml636r ml636r
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: