Rationale
The ONAP community and early adopters has expressed concern with the size of the images. A strong rationale is to optimize ONAP image sizes.
Images contained the in official repositories have clear documentation, promote best practices and support common use cases.
Using the base images provided here, users could still build a custom images with just the necessary pre-compiled libraries to save space.
Guidelines
Developers are encouraged to use images from the official, curated repositories, for example https://hub.docker.com/explore/?page=1
Recommended base images
Current Base Image | Recommended Base Image** | Supports multi-CPU deployments |
---|---|---|
java:8 | openjdk:8-alpine | Yes |
java:openjdk-8-jre | openjdj:8-jre-alpine | Yes |
jetty:9.3-jre8 | jetty:9.3-jre8-alpine | Yes |
jetty:9.3-jre8-alpine | jetty:9.3-jre8-alpine | Yes |
nginx:1.11.8 | nginx:1.15-alpine | Yes |
nginx:1.11.9-alpine | nginx:1.15-alpine | Yes |
node:4.6.0 | node:6.14-alpine | Yes |
node:6.10.3 | node:6.14-alpine | Yes |
openjdk:8u121-jre-alpine | openjdk:8u171-jre-alpine | Yes |
openresty/openresty:alpine | Unknown | |
python:alpine | python:3-alpine, python:2-alpine | Yes |
(**) Recommended release, users are encouraged to choose newer official releases.