Sign inSign up

petewoods/spring-boot-multistage-docker

By petewoods

•Updated over 7 years ago

Image
0

183

petewoods/spring-boot-multistage-docker repository overview

⁠Production-grade Docker build

Docker Cloud Build Status

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⁠.

⁠Building the image

# docker build -t petewoods/spring-boot-multistage-docker .

⁠Running the container

# 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

Existing builds can be found at Docker hub⁠.

Tag summary

Content type

Image

Digest

Size

85.9 MB

Last updated

over 7 years ago

docker pull petewoods/spring-boot-multistage-docker