Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker authored Mar 11, 2024
1 parent 8181882 commit 102837d
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: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

Expand Down

0 comments on commit 102837d

Please sign in to comment.