Sign inSign up

sibdocker/docker-spring-boot

By sibdocker

•Updated over 8 years ago

This docker image is built using dockerfile of spring boot application.

Image
1

137

sibdocker/docker-spring-boot repository overview

dockerfile :

⁠Start with a base image containing Java runtime

FROM openjdk:8

⁠Add Maintainer Info

LABEL maintainer="[email protected]⁠"

⁠Add a volume pointing to /tmp

VOLUME /tmp

⁠Make port 8080 available to the world outside this container

EXPOSE 8080

⁠The application's jar file

ARG JAR_FILE=target/docker-spring-boot-0.0.1-SNAPSHOT.jar

⁠Add the application's jar to the container

ADD ${JAR_FILE} docker-spring-boot.jar

⁠Run the jar file

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/docker-spring-boot.jar"]

Tag summary

Content type

Image

Digest

Size

247.9 MB

Last updated

over 8 years ago

docker pull sibdocker/docker-spring-boot