aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-12-03 17:36:05 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-12-03 17:36:05 +0100
commite116072a55f70f94b06f12ad2451351773273385 (patch)
tree338b0d01cffde5086404c704743f3a052811a71c /docker
parentfix: lower multiplicity objective (diff)
downloadrefinery-e116072a55f70f94b06f12ad2451351773273385.tar.gz
refinery-e116072a55f70f94b06f12ad2451351773273385.tar.zst
refinery-e116072a55f70f94b06f12ad2451351773273385.zip
chore(deps): Java 21
Also bumps other dependencies.
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 80748e7a..e6d5dccf 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -2,14 +2,14 @@
2# 2#
3# SPDX-License-Identifier: EPL-2.0 3# SPDX-License-Identifier: EPL-2.0
4 4
5FROM public.ecr.aws/amazoncorretto/amazoncorretto:17-al2023-jdk AS jdk 5FROM public.ecr.aws/amazoncorretto/amazoncorretto:21-al2023-jdk AS jdk
6 6
7FROM --platform=$BUILDPLATFORM docker.io/eclipse-temurin:17-jdk-jammy AS jlink-base 7FROM --platform=$BUILDPLATFORM docker.io/eclipse-temurin:21-jdk-jammy AS jlink-base
8# Use the Ubuntu Jammy based Temurin image for JLink, because it already 8# Use the Ubuntu Jammy based Temurin image for JLink, because it already
9# contains the require objcopy tool for stripping debug symbols: 9# contains the require objcopy tool for stripping debug symbols:
10# https://github.com/docker-library/openjdk/issues/351 10# https://github.com/docker-library/openjdk/issues/351
11# We'll have to cross-jlink the JDK: https://stackoverflow.com/a/47611708 11# We'll have to cross-jlink the JDK: https://stackoverflow.com/a/47611708
12COPY --link --from=jdk /usr/lib/jvm/java-17-amazon-corretto /crossjdk 12COPY --link --from=jdk /usr/lib/jvm/java-21-amazon-corretto /crossjdk
13 13
14FROM --platform=$BUILDPLATFORM jlink-base AS jlink-amd64-on-amd64 14FROM --platform=$BUILDPLATFORM jlink-base AS jlink-amd64-on-amd64
15 15