Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swissgrc/docker-azure-pipelines-openjdk-21
🐳 Docker image which provides Eclipse Temurin OpenJDK 21 in an Azure Pipelines container job
https://github.com/swissgrc/docker-azure-pipelines-openjdk-21
adoptium azure-devops azure-pipelines docker hacktoberfest java openjdk temurin
Last synced: about 2 months ago
JSON representation
🐳 Docker image which provides Eclipse Temurin OpenJDK 21 in an Azure Pipelines container job
- Host: GitHub
- URL: https://github.com/swissgrc/docker-azure-pipelines-openjdk-21
- Owner: swissgrc
- License: mit
- Created: 2024-02-10T11:06:24.000Z (11 months ago)
- Default Branch: develop
- Last Pushed: 2024-11-10T08:17:46.000Z (about 2 months ago)
- Last Synced: 2024-11-10T09:20:50.662Z (about 2 months ago)
- Topics: adoptium, azure-devops, azure-pipelines, docker, hacktoberfest, java, openjdk, temurin
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/swissgrc/azure-pipelines-openjdk
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Docker image for running Java applications in an Azure Pipelines container job
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/swissgrc/docker-azure-pipelines-openjdk-21/blob/main/LICENSE) [![Build](https://img.shields.io/github/actions/workflow/status/swissgrc/docker-azure-pipelines-openjdk-21/publish.yml?branch=develop&style=flat-square)](https://github.com/swissgrc/docker-azure-pipelines-openjdk-21/actions/workflows/publish.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=swissgrc_docker-azure-pipelines-openjdk-21&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=swissgrc_docker-azure-pipelines-openjdk-21) [![Pulls](https://img.shields.io/docker/pulls/swissgrc/azure-pipelines-openjdk.svg?style=flat-square)](https://hub.docker.com/r/swissgrc/azure-pipelines-openjdk) [![Stars](https://img.shields.io/docker/stars/swissgrc/azure-pipelines-openjdk.svg?style=flat-square)](https://hub.docker.com/r/swissgrc/azure-pipelines-openjdk)
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:
```yaml
- 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)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-openjdk/latest?style=flat-square) |
| 21 | Identical to `latest` tag | | | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-openjdk/21?style=flat-square) |
| unstable | Latest unstable release (from `develop` branch) | azure-pipelines-dockercli:27.3.1 | 21.0.4.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-openjdk/unstable?style=flat-square) |
| 21-unstable | Identical to `unstable` tag | | | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-openjdk/21-unstable?style=flat-square) |
| 21.0.2.0 | Eclipse Temurin 21.0.2 | azure-pipelines-dockercli:25.0.3 | 21.0.2.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-openjdk/21.0.2.0?style=flat-square) |
| 21.0.3.0 | Eclipse Temurin 21.0.3 | azure-pipelines-dockercli:26.1.1 | 21.0.3.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-openjdk/21.0.3.0?style=flat-square) |
| 21.0.4.0 | Eclipse Temurin 21.0.4 | azure-pipelines-dockercli:27.1.1 | 21.0.4.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-openjdk/21.0.4.0?style=flat-square) |[Eclipse Temurin OpenJDK]: https://adoptium.net/temurin/
[Azure Pipelines container jobs]: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases