Skip to content

swissgrc/docker-azure-pipelines-openjdk-17

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for running Java applications in an Azure Pipelines container job

License Build Quality Gate Status Pulls Stars

Docker image which provides Eclipse Temurin OpenJDK 17 in an Azure Pipelines container jobs. The image contains also Docker CLI to access Docker engine on the agent.

Usage

This image can be used to run Java applications in Azure Pipelines container jobs.

Azure Pipelines Container Job

To use the image in an Azure Pipelines Container Job, add one of the following example tasks and use it with the container property.

The following example shows the container used for a deployment step which shows .NET version:

  - stage: deploy
    jobs:
      - deployment: runJava
        container: swissgrc/azure-pipelines-openjdk:17
        environment: smarthotel-dev
        strategy:
          runOnce:
            deploy:
              steps:
                - bash: |
                    java -version

Tags

Tag Description Base Image OpenJDK Size
17 Latest stable release (from main branch) azure-pipelines-dockercli:26.1.1 17.0.11.0 Docker Image Size (tag)
17-unstable Latest unstable release (from develop branch) azure-pipelines-dockercli:26.1.2 17.0.11.0 Docker Image Size (tag)
17.0.4.0 OpenJDK 17.0.4 debian:11.3-slim 17.0.4.0 Docker Image Size (tag)
17.0.4.1 OpenJDK 17.0.4 debian:11.5-slim 17.0.4.1 Docker Image Size (tag)
17.0.5.0 OpenJDK 17.0.5 debian:11.6-slim 17.0.5.0 Docker Image Size (tag)
17.0.6.0 OpenJDK 17.0.6 debian:11.6-slim 17.0.6.0 Docker Image Size (tag)
17.0.7.0 OpenJDK 17.0.7 debian:11.6-slim 17.0.7.0 Docker Image Size (tag)
17.0.8.0 OpenJDK 17.0.8 azure-pipelines-dockercli:24.0.5 17.0.8.0 Docker Image Size (tag)
17.0.8.1 OpenJDK 17.0.8 azure-pipelines-dockercli:24.0.5 17.0.8.1 Docker Image Size (tag)
17.0.9.0 OpenJDK 17.0.9 azure-pipelines-dockercli:24.0.7 17.0.9.0 Docker Image Size (tag)
17.0.10.0 OpenJDK 17.0.10 azure-pipelines-dockercli:25.0.3 17.0.10.0 Docker Image Size (tag)
17.0.11.0 OpenJDK 17.0.11 azure-pipelines-dockercli:26.1.1 17.0.11.0 Docker Image Size (tag)

Configuration

These environment variables are supported:

Environment variable Default value Description
OPENJDK_VERSION 17.0.9.0.0+9 Version of Eclipse Temurin OpenJDK installed in the image.