Public | Automated Build

Last pushed: 19 days ago
Short Description
Short description is empty for this repo.
Full Description

Minimal Docker image with Java

Docker image to run Java applications.
This is based off Alpine to keep the size minimal (117 MB).

Consider to use develar/java:8u45-dcevm during development — DCEVM.

Docker compose example to run application from classes:

image: develar/java:8u45
environment:
  _JAVA_OPTIONS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5050 -Xms48m -Xmx64M"
  CLASSPATH: /app/lib/*:/app/classes
volumes:
  - out/production/moduleName:/app/classes:ro
  - lib:/app/lib:ro
command: com.example.ClassName
expose:
 - "80"
ports:
  - "5050:5050"
Docker Pull Command
Owner
develar
Source Repository