This is a trivial Spring Boot app using production-grade multi-stage Docker builds, efficient Docker layers and a Distroless base image.
See the related blog post here.
# docker build -t petewoods/spring-boot-multistage-docker .
# docker run --rm -p 8080:8080 petewoods/spring-boot-multistage-docker
You can then visit http://localhost:8080 in your browser, or run
# curl http://localhost:8080
to verify it works.
Existing builds can be found at Docker hub.
Content type
Image
Digest
Size
85.9 MB
Last updated
over 7 years ago
docker pull petewoods/spring-boot-multistage-docker