This image contains a shrinked JDK 11 and is based on Alpine and Debian, which makes the download size to be around 35-50Mb.
Includes the following Java modules:
java.beans.IntrospectionExceptionjavax.naming.NamingExceptionorg.ietf.jgss.GSSExceptionjavax.management.MBeanServerjava.lang.instrument.IllegalClassFormatExceptionorg.springframework.aop.framework.AopConfigException: Unable to instantiate proxy using Objenesis, and regular proxy instantiation via default constructor fails as wellTo get the Debain based image:
$ docker pull aint/javabase
To get the Alpine based image:
$ docker pull aint/javabase:alpine
This image is intended to be a base image for your projects, so you may use it like this:
FROM aint/javabase
COPY target/spring-app.jar /app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "app.jar"]
$ docker build -t spring_app .
Content type
Image
Digest
Size
52.6 MB
Last updated
over 7 years ago
docker pull aint/javabase