Skip to content

develar/docker-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published