Sign inSign up

richardpham201/eclipse-temurin-17-jdk-alpine-cicd-dind

By richardpham201

•Updated over 1 year ago

Based on eclipse-temurin:17-jdk-alpine, pre-installed with Docker, SSH client, and Git

Image
Integration & delivery
Developer tools
Operating systems
0

135

richardpham201/eclipse-temurin-17-jdk-alpine-cicd-dind repository overview

⁠Overview

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.

⁠Features

  • OpenJDK 17 (Temurin)
  • Docker CLI (for running docker build, docker run, etc.)
  • SSH client (openssh-client)
  • Git (git)

⁠Usage

⁠Run as a standalone container
docker run --rm -it myusername/temurin-docker sh
⁠Use in GitLab CI/CD

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!"

⁠Why Use This Image?

āœ… 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! šŸš€

Tag summary

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