Skip to content

Commit

Permalink
BDEV-19172: Add support for JDK21 (#909)
Browse files Browse the repository at this point in the history
* Add support for JDK21 + missing dynamic Tomcat options + style

* BAM-25942: Minor text fix
  • Loading branch information
eduardoalvarenga authored Nov 13, 2024
1 parent d292635 commit 394e63f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/docs/containers/BAMBOO-AGENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To learn more about Bamboo, see: <https://www.atlassian.com/software/bamboo>
This Docker container makes it easy to get a Bamboo Remote Agent up and running. It is intended to be used as a base to
build from, and as such contains limited built-in capabilities:

* JDK 11, JDK 17 (from v9.4.0)
* JDK 11, JDK 17 (from v9.4.0), JDK 21 (from v10.1.0)
* Git & Git LFS
* Maven 3
* Python 3
Expand Down Expand Up @@ -144,10 +144,10 @@ RUN /bamboo-update-capability.sh "system.git.executable" /usr/bin/git

## Supported JDK versions and base images

Bamboo Docker images are based on JDK 11, JDK 17 (from Bamboo 9.4) and generated from the
Bamboo Docker images are based on JDK 11, JDK 17 (from Bamboo 9.4), and JDK 21 (from Bamboo 10.1) and generated from the
[official Eclipse Temurin OpenJDK Docker images](https://hub.docker.com/_/eclipse-temurin) and
[Red Hat Universal Base Images](https://catalog.redhat.com/software/containers/ubi9/openjdk-17/61ee7c26ed74b2ffb22b07f6?architecture=amd64).
Starting in Bamboo 9.4, UBI tags are available in 2 formats: `<version>-ubi9`, `<version>-ubi9-jdk17`, `<version>-ubi9-jdk21`
Starting in Bamboo 9.4, UBI tags are available in 2 formats: `<version>-ubi9`, `<version>-ubi9-jdk17`, or `<version>-ubi9-jdk21>`

The Docker images follow the [Atlassian Support end-of-life
policy](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html);
Expand All @@ -168,7 +168,7 @@ If for some reason you need a different version, see "Building your own image".

## Migration to UBI

If you have been mounting any files to `${JAVA_HOME}` directory in `eclipse-temurin` based container, `JAVA_HOME` in UBI container is set to `/usr/lib/jvm/java-17` (JDK17).
If you have been mounting any files to `${JAVA_HOME}` directory in `eclipse-temurin` based container, `JAVA_HOME` in UBI container is set to `/usr/lib/jvm/java-17` (JDK17) and `/usr/lib/jvm/java-21` (JDK21).

Also, if you have been mounting and running any custom scripts in the container, UBI-based images may lack some tools and utilities that are available out of the box in eclipse-temurin tags. If that's the case, see [Building your own image](#building-your-own-image).

Expand Down
6 changes: 3 additions & 3 deletions docs/docs/containers/BAMBOO.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,10 @@ available but are no longer supported.

## Supported JDK versions and base images

Bamboo Docker images are based on JDK 11, JDK 17 (from Bamboo 9.4) and generated from the
Bamboo Docker images are based on JDK 11, JDK 17 (from Bamboo 9.4), and JDK 21 (from Bamboo 10.1) and generated from the
[official Eclipse Temurin OpenJDK Docker images](https://hub.docker.com/_/eclipse-temurin) and
[Red Hat Universal Base Images](https://catalog.redhat.com/software/containers/ubi9/openjdk-17/61ee7c26ed74b2ffb22b07f6?architecture=amd64).
Starting in Bamboo 9.4, UBI tags are available in 2 formats: `<version>-ubi9` and `<version>-ubi9-jdk17`
Starting in Bamboo 9.4, UBI tags are available in 2 formats: `<version>-ubi9`, `<version>-ubi9-jdk17`, `<version>-ubi9-jdk21`

The Docker images follow the [Atlassian Support end-of-life
policy](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html);
Expand Down Expand Up @@ -527,7 +527,7 @@ If for some reason you need a different version, see "Building your own image".

## Migration to UBI

If you have been mounting any files to `${JAVA_HOME}` directory in `eclipse-temurin` based container, `JAVA_HOME` in UBI JDK17 container is set to `/usr/lib/jvm/java-17`.
If you have been mounting any files to `${JAVA_HOME}` directory in `eclipse-temurin` based container, `JAVA_HOME` in UBI container is set to `/usr/lib/jvm/java-17` (JDK17) and `/usr/lib/jvm/java-21` (JDK21).

Also, if you have been mounting and running any custom scripts in the container, UBI-based images may lack some tools and utilities that are available out of the box in eclipse-temurin tags. If that's the case, see [Building your own image](#building-your-own-image).

Expand Down

0 comments on commit 394e63f

Please sign in to comment.