Based on eclipse-temurin:17-jdk-alpine, pre-installed with Docker, SSH client, and Git
135
A lightweight Docker image based on eclipse-temurin:17-jdk-alpine, pre-installed with Docker CLI, SSH client, and Git. This image is optimized for CI/CD environments, especially for GitLab CI/CD with docker:dind service.
docker build, docker run, etc.)openssh-client)git)docker run --rm -it myusername/temurin-docker sh
Example .gitlab-ci.yml configuration:
image: myusername/temurin-docker
services:
- docker:dind
variables:
DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: "tcp://docker:2375"
before_script:
- docker info
- git --version
- ssh -V
stages:
- build
- test
build:
stage: build
script:
- docker build -t my-app .
- docker images
test:
stage: test
script:
- docker run --rm my-app echo "Test successful!"
ā
Lightweight & optimized (based on Alpine)
ā
Fully supports docker:dind in GitLab CI/CD
ā
No need for --privileged mode
ā
Ready-to-use for building and testing Java applications in CI/CD
š„ Use this image for a seamless CI/CD experience with Java 17 and Docker! š
Content type
Image
Digest
sha256:ccc57a1d0ā¦
Size
175.7 MB
Last updated
over 1 year ago
docker pull richardpham201/eclipse-temurin-17-jdk-alpine-cicd-dind:1.0.1