Swap alpine with alpine-jre for base runner image

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
This commit is contained in:
Rahul Rudragoudar 2021-03-31 18:39:05 +05:30
parent 8c5a6a26e8
commit f99c1bda5f
No known key found for this signature in database
GPG Key ID: 0D2CE231A7287EBC
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ FROM sbt-builder as builder
COPY src/ src/
RUN sbt assembly
FROM adoptopenjdk/openjdk16:alpine AS base-core
FROM adoptopenjdk/openjdk16:alpine-jre AS base-core
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
RUN apk add --update ttf-dejavu
ENV PATH=$PATH:${JAVA_HOME}/bin