Sign inSign up

taraj2/docker-auto-build

By taraj2

•Updated about 7 years ago

Simple Dockerfile to multi-stage Spring Boot builds

Image
0

90

taraj2/docker-auto-build repository overview

⁠Docker auto build

Simple Dockerfile to multi-stage Spring Boot builds

FROM gradle AS build
COPY . /build
WORKDIR /build
RUN gradle build

FROM openjdk:8-jdk-alpine AS final
COPY --from=build /build/build/libs/*.jar /app/
WORKDIR /app
CMD  java -jar $(ls)
EXPOSE 8080

If you link GitHub repository to DockerHub each time when you push changes, your application in the container will be rebuilt

https://hub.docker.com/r/taraj2/docker-auto-build⁠

Tag summary

Content type

Image

Digest

Size

87.6 MB

Last updated

about 7 years ago

docker pull taraj2/docker-auto-build