Alpine Linux base image with installed Zulu Community OpenJRE
75
Dockerfile linksThe most straightforward way to use this image is to use a Java container runtime environment. In your Dockerfile, writing something along the lines of the following will run your project:
FROM devstudy/jre:8
ADD target/app.jar /usr/src/myapp
WORKDIR /usr/src/myapp
CMD ["java", "-", "jar" "app.jar"]
You can then run and build the Docker image:
$ docker build -t app .
$ docker run -it --rm --name my-running-app app
View license information for the software contained in this image:
Content type
Image
Digest
Size
43.1 MB
Last updated
about 7 years ago
docker pull devstudy/jre:8.0.222