-
Story
-
Resolution: Done
-
Medium
-
None
-
SDC Sprint 7
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 :
- move images to alpine, a light wait os.
- move all dockers bases to alpine (sanity jetty C* and ES).
- review the components installed in the docker and remove parts unneeded.
- 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:
- docker images are successfully built and are available in the staging repo.
- the SDC dockers are able to build and startup using the new base images.
- the image size is significantly reduced based on the initial size currently available.
- the docker pass SDC sanity and Jenkins build flows.
There are no Sub-Tasks for this issue.