Skip to content

Commit cc913ae

Browse files
committed
[cicd] Migrate to Java21 - docker
1 parent be4fd68 commit cc913ae

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

exist-docker/src/main/resources-filtered/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2121
#
2222

23-
FROM gcr.io/distroless/java17-debian12:latest
23+
FROM gcr.io/distroless/java21-debian12:latest
2424

2525
# Copy eXist-db
2626
COPY LICENSE /exist/LICENSE

exist-docker/src/main/resources-filtered/Dockerfile-DEBUG

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2121
#
2222

23-
# Use JDK 17 in Debian as our production image gcr.io/distroless/java is based on Debian with just a JRE)
23+
# Use JDK 21 in Debian as our production image gcr.io/distroless/java is based on Debian with just a JRE)
2424
FROM debian:bookworm-slim
2525
RUN apt-get update && apt-get -y dist-upgrade
26-
RUN apt-get install -y openjdk-17-jdk-headless
26+
RUN apt-get install -y openjdk-21-jdk-headless
2727
RUN apt-get install -y expat fontconfig # Install tools required by FOP
2828

2929
# Copy eXist-db

exist-docker/src/main/resources-filtered/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The images are based on Google Cloud Platform's ["Distroless" Docker Images](htt
1717
* [Docker](https://www.docker.com): `18-stable`
1818
### For building
1919
* [maven](https://maven.apache.org/): `^3.6.0`
20-
* [java](https://www.java.com/): `17`
20+
* [java](https://www.java.com/): `21`
2121
* [bats](https://github.com/bats-core/bats-core): `^1.1.0` (for testing)
2222

2323
## How to use

0 commit comments

Comments
 (0)