orientechnologies / orientdb-docker

OrientDB running in a docker container
MIT License
63 stars 63 forks source link

Docker Image Size #14

Open RAndrews137 opened 8 years ago

RAndrews137 commented 8 years ago

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.

RAndrews137 commented 8 years ago

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)