Sign inSign up

mbopm/docker-dind-temurin-alpine

By mbopm

Updated 9 months ago
Archived

migrate to https://hub.docker.com/repository/docker/mbopm/docker-dind-openjdk-alpine.

Image
Developer tools
0

928

mbopm/docker-dind-temurin-alpine repository overview

docker-dind-temurin-alpine

Alpine latest with Eclipse Temurin JDK 21 with docker in docker available. This way you can run testcontainers based tests inside the container without having to worry about how to get a working docker environment. This image is meant as build container for applications and not to run server applications inside.

To run a gradle build you can easily do something like this:

FROM mbopm/docker-dind-temurin-alpine-jdk21:latest
COPY ./ ./
CMD dockerd-entrypoint.sh & ./gradlew build --no-daemon --stacktrace --info

The dockerd-entrypoint.sh & in front is important to have docker properly started for the test. In all tests docker was much faster than every gradle step that would rely on it. So that possible race condition was no problem in all runs.


Tag summary

Content type

Image

Digest

sha256:e387383b9

Size

280.2 MB

Last updated

9 months ago

docker pull mbopm/docker-dind-temurin-alpine