/docker-azure-pipelines-openjdk-21

🐳 Docker image which provides Eclipse Temurin OpenJDK 21 in an Azure Pipelines container job

Primary LanguageDockerfileMIT LicenseMIT

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 21 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:21
        environment: smarthotel-dev
        strategy:
          runOnce:
            deploy:
              steps:
                - bash: |
                    java -version

Tags

Tag Description Base Image OpenJDK Size
latest Latest stable release (from main branch) azure-pipelines-dockercli:27.1.1 21.0.4.0 Docker Image Size (tag)
21 Identical to latest tag Docker Image Size (tag)
unstable Latest unstable release (from develop branch) azure-pipelines-dockercli:27.3.1 21.0.4.0 Docker Image Size (tag)
21-unstable Identical to unstable tag Docker Image Size (tag)
21.0.2.0 Eclipse Temurin 21.0.2 azure-pipelines-dockercli:25.0.3 21.0.2.0 Docker Image Size (tag)
21.0.3.0 Eclipse Temurin 21.0.3 azure-pipelines-dockercli:26.1.1 21.0.3.0 Docker Image Size (tag)
21.0.4.0 Eclipse Temurin 21.0.4 azure-pipelines-dockercli:27.1.1 21.0.4.0 Docker Image Size (tag)