Docker Alpine image with cleaned Oracle JRE 8 Update 172 (size 120MB)
You must accept the Oracle Binary Code License Agreement for Java SE to use this image.
Image uses frol Alpine (~only 12MB size) image with glibc as a base image.
And contains cleaned Oracle JRE 1.8.172 version without desktop, sources and other unnecessary stuff except JVM. So image have all JVM parts to run Java applications in Docker containers.
Image contains only Java Runtime Environment, so you must have compiled Java application.
Image have docker USER named app so you can use it for your application.
Just add code below in your Dockerfile to use start your application as a user app
USER app
Check example folder for Dockerfile example of image usage.