Skip to content

StevenACoffman/java9-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smaller Java 9 apps in Docker

This project showcases what is in my opinion the coolest features in JDK 9:

  • ability to create custom runtime for your application
  • native support for Alpine Linux

This translates to less disk space and faster startup times than the full JVM. Whether or not it improves memory usage or speed after initial startup is an open question in my mind.

TL; DR version

REPOSITORY=stevenacoffman/java9-bench
docker build -t "${REPOSITORY}:latest" .
docker run -it stevenacoffman/java9-bench

Acknowledgments

Run the container image

Running the container is old news:

  docker run stevenacoffman/java9-bench

Releases

No releases published

Packages

No packages published