/java8

Dockerfile for java 8

Lightweight Java images for Docker

The official Docker image for java 8 are based on Debian which results in rather large images (more than 300MB for the JRE or almost 600MB for the JDK) compared to the JDK size (approximatly 150MB).

This is a fork from David's Java 8 image using my OpenJDK distribution on Bintray aiming at creating a lightweight Docker image to run Java applications.

Features

  • Based on busybox
  • Contains an boosted JRE including tools.jar and javac
  • Include extra commands:
    • curl with ssl support
    • gosu to drop privileges when starting an application