AdamBien / docklands

Minimalistic Java EE / Jakarta EE / MicroProfile Related Dockerfiles
Apache License 2.0
326 stars 106 forks source link

Use 'glassfish/openjdk', or be inspire by it #2

Closed brunoborges closed 8 years ago

brunoborges commented 8 years ago

Instead of using CentOS base image, consider using glassfish/openjdk (or produce something similar). It is published on Docker Hub and is based on Alpine Linux. It is very minimalistic, very small, and still 100% functional.

Urbiwanus commented 8 years ago

Check https://developer.atlassian.com/blog/2015/08/minimal-java-docker-containers/ for further informations Regards

brunoborges commented 8 years ago

@Urbiwanus the glassfish/openjdk uses those approaches, and also fixes the SSL issues by installing the CA certificates in OpenJDK (which are not provided by default)

AdamBien commented 8 years ago

I took a look at alpine linux. Looks interesting - however, it seems like there are no official openjdk8-devel images available. Also: the size of the image should not matter, because it only exists once on the disc. Are there any runtime performance differences? Most of my clients are using CentOs, none of them is alpine based...