A base Docker image to run and build Spring Boot applications.
50K+
This project contains Dockerfile that creates a base image to run Spring Boot applications. Source is on GitHub saturnism/spring-boot-docker
Check available tagged images to use specific Spring Boot and Groovy versions.
This is not an official Google product.
Create a Dockerfile in your project directory:
FROM saturnism/spring-boot
ADD . $SRC_DIR
You can then build and run the image:
docker build -t myapp
docker run -ti myapp
You'll notice that everytime the container starts, it will resolve all the dependencies.
To avoid this, you can also pre-compile your Groovy application using the onbuild image.
In the Dockerfile, use:
FROM saturnism/spring-boot:onbuild
You can then build and run the image just like the previous method:
docker build -t myapp
docker run -ti myapp
You can find examples under the Examples directory.
Content type
Image
Digest
sha256:a2cec85c4…
Size
861.8 MB
Last updated
almost 11 years ago
docker pull saturnism/spring-boot