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
ONAP projects are encouraged to use the images listed below.
These images can be sourced from 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 openjdk:8-jdk | openjdk:8-alpine | Yes |
java:openjdk-8-jre openjdk:8-jre openjdk:8-jre-slim openjdk:8u121-jre-alpine | openjdk: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.9-alpine nginx:1.11.8 nginx:1.11.9-alpine nginx:1.13.3-alpine nginx:alpine | nginx:1.15-alpine | Yes |
node:4.6.0 node:4.6.0 node:6.10.3 node:8-alpine | node:6.14-alpine | Yes |
openjdk:8u121-jre-alpine | openjdk:8u171-jre-alpine | Yes |
openresty/openresty:alpine | Unknown | |
python:alpine python:2 python:2.7 python:2.7.14 python:2.7-alpine python:3.6 python:3.6.1 | python:3-alpine, python:2-alpine | Yes |
(**) Recommended release, users are encouraged to choose newer official releases.