Swap alpine with alpine-jre for base runner image
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
This commit is contained in:
parent
8c5a6a26e8
commit
f99c1bda5f
|
@ -22,7 +22,7 @@ FROM sbt-builder as builder
|
||||||
COPY src/ src/
|
COPY src/ src/
|
||||||
RUN sbt assembly
|
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/"
|
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
|
||||||
RUN apk add --update ttf-dejavu
|
RUN apk add --update ttf-dejavu
|
||||||
ENV PATH=$PATH:${JAVA_HOME}/bin
|
ENV PATH=$PATH:${JAVA_HOME}/bin
|
||||||
|
|
Loading…
Reference in New Issue