A base docker image for spring-boot build.
1.3K
A base docker image for spring-boot build. Based on openjdk:8-jre-alpine with some fixes and enhancements. for more details see Dockerfile
cat <<EOF > Dockerfile
FROM tdio/spring-boot-base:8-jre-alpine
EOF
$ docker build -t xx --build-arg JAR_FILE=./target/xx.jar
or build with buildx bake
cat <<EOF > docker-bake.hcl
variable "TAG" {
default = "latest"
}
group "default" {
targets = ["test"]
}
target "test" {
context = "."
dockerfile = "Dockerfile"
args = {
JAR_FILE = "target/test-spring-app.jar"
}
tags = [
"test-spring-app:${TAG}",
]
platforms = ["linux/amd64", "linux/arm64"]
}
EOF
Content type
Image
Digest
sha256:3b0c0c5ec…
Size
65.3 MB
Last updated
about 4 years ago
docker pull tdio/spring-boot-base