Skip to content

Commit

Permalink
Reference microsoft java image so we can build against 21
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith committed Oct 5, 2023
1 parent 37ac0ba commit d882f40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contexts/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG DEEPHAVEN_SOURCES

# -------------------------------------

FROM docker.io/eclipse-temurin:${OPENJDK_VERSION} as openjdk
FROM mcr.microsoft.com/openjdk/jdk:${OPENJDK_VERSION}-ubuntu as openjdk

# -------------------------------------

Expand Down Expand Up @@ -134,13 +134,13 @@ LABEL \

FROM venv-bits-${DEEPHAVEN_SOURCES} as openjdk-bits
ARG OPENJDK_VERSION
COPY --link --from=openjdk /opt/java/openjdk /opt/java/openjdk
COPY --link --from=openjdk /usr/lib/jvm/msopenjdk-${OPENJDK_VERSION}-amd64 /opt/java/openjdk
ENV \
JAVA_HOME="/opt/java/openjdk" \
PATH="/opt/java/openjdk/bin:${PATH}"
LABEL \
io.deephaven.server.java.version="${OPENJDK_VERSION}" \
io.deephaven.server.java.base.name="docker.io/eclipse-temurin:${OPENJDK_VERSION}"
io.deephaven.server.java.base.name="mcr.microsoft.com/openjdk/jdk:${OPENJDK_VERSION}-ubuntu"

# -------------------------------------

Expand Down

0 comments on commit d882f40

Please sign in to comment.