update jdk version in dockerfile

This commit is contained in:
hrj 2024-02-24 09:13:16 +05:30
parent 1234bd4acb
commit 1742772de1
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk16:latest AS base-builder
FROM adoptopenjdk/openjdk17:latest AS base-builder
ARG SBT_VERSION=1.7.1
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
ENV PATH=$PATH:${JAVA_HOME}/bin

View File

@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk16:latest AS base-core
FROM adoptopenjdk/openjdk17:latest AS base-core
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
RUN apt update && apt install -y ttf-dejavu
ENV PATH=$PATH:${JAVA_HOME}/bin