Sign inSign up

keaz/springboot

By keaz

Updated about 7 years ago
Archived

Spring boot builder image

Image
0

211

keaz/springboot repository overview

SpringBoot Base Image

SpringBoot base image contains all the necessary dependencies. Image is based on Spring boot 2.1.6. Image will be built for java 8 and above versions.

Main purpose of this image is to use this as a builder image (in multistage build)

FROM keaz/springbootbase:latest as builder
WORKDIR /app
COPY src /app/src
COPY pom.xml /app/

RUN cd /app
RUN mvn clean install

ENTRYPOINT "ls -al target/"

FROM openjdk:11.0.3-jdk-slim-stretch

WORKDIR /app
COPY --from=builder /app/target/code-master.jar /app/
ENTRYPOINT java -Djava.security.egd=file:/dev/./urandom -jar somce-jar.jar

Tag summary

Content type

Image

Digest

Size

981.6 MB

Last updated

about 7 years ago

docker pull keaz/springboot