38

Java Web Server in a 20 MB Docker Image | John Zeringue

 5 years ago
source link: https://zeringue.io/post/graalvm-gradle-docker/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
GraalVM is a new virtual machine from Oracle with a lot of cool features. One of the most exciting is the ability to create native Java binaries. These native binaries promise improved speed, size, startup time, and operational overhead compared to a typical JVM runtime.In this blog post, I show how to create a tiny Docker image with a simple web server by using native Java binaries. At the end, we’ll have a nicely scripted build that you might consider using for serious projects.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK