Skip to content

Commit

Permalink
Merge pull request #35 from webis-de/dependabot/docker/openjdk-18-slim
Browse files Browse the repository at this point in the history
Bump openjdk from 11-slim to 18-slim
  • Loading branch information
janheinrichmerker authored Mar 11, 2024
2 parents 32be645 + 102837d commit 10afc92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM openjdk:11-slim as openjdk-11
FROM openjdk:18-slim as openjdk

FROM python:3.9-slim as python

COPY --from=openjdk-11 /usr/local/openjdk-11 /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

Expand Down

0 comments on commit 10afc92

Please sign in to comment.