orientechnologies/orientdb-docker

Docker Image Size

Opened this issue · 1 comments

The base image is java:Alpine which is pretty large unfortunately. Alpine itself is very small, but the open-jdk version is cumbersome because it is a full JDK. In the case of OrientDB, only a JRE is truly needed. Currently, the image size is about 650MB. The purpose of this issue is to consider another Docker using Alpine and OpenJDK but slimmed down to a more appropriate size.

Based on: https://hub.docker.com/_/java/ The java:alpine tag is definitely a full JDK which does not seem needed. Suggest using the JRE tag. Listed below are the equivalent Alpine JRE tags which can be used instead.

8u92-jre-alpine, 8-jre-alpine, jre-alpine, openjdk-8u92-jre-alpine, openjdk-8-jre-alpine (8-jre/alpine/Dockerfile)