From 4ded9a82cbecb97744fbd45fb599401f187182c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 06:30:53 +0000 Subject: [PATCH 1/3] Bump openjdk from 11-slim to 18-slim Bumps openjdk from 11-slim to 18-slim. --- updated-dependencies: - dependency-name: openjdk dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 411892b..1f24cfe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:11-slim as openjdk-11 +FROM openjdk:18-slim as openjdk-11 FROM python:3.9-slim as python From 8181882e43d0156acec4ca2b25a833d643cd338e Mon Sep 17 00:00:00 2001 From: Jan Heinrich Reimer Date: Mon, 11 Mar 2024 08:55:35 +0100 Subject: [PATCH 2/3] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f24cfe..573dd68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM openjdk:18-slim as openjdk-11 +FROM openjdk:18-slim as openjdk-18 FROM python:3.9-slim as python -COPY --from=openjdk-11 /usr/local/openjdk-11 /usr/local/openjdk +COPY --from=openjdk-18 /usr/local/openjdk-18 /usr/local/openjdk ENV JAVA_HOME /usr/local/openjdk RUN update-alternatives --install /usr/bin/java java /usr/local/openjdk/bin/java 1 From 102837d62a264b4c5a9744714a49d4a46aa10179 Mon Sep 17 00:00:00 2001 From: Jan Heinrich Reimer Date: Mon, 11 Mar 2024 08:56:44 +0100 Subject: [PATCH 3/3] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 573dd68..d5faedc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM openjdk:18-slim as openjdk-18 +FROM openjdk:18-slim as openjdk FROM python:3.9-slim as python -COPY --from=openjdk-18 /usr/local/openjdk-18 /usr/local/openjdk +COPY --from=openjdk /usr/local/openjdk-* /usr/local/openjdk ENV JAVA_HOME /usr/local/openjdk RUN update-alternatives --install /usr/bin/java java /usr/local/openjdk/bin/java 1