Use jre headless for more leightweight images

This commit is contained in:
Quentin 2020-09-13 09:48:04 +00:00
parent a1be6b31ed
commit d76d82fccb

View file

@ -18,7 +18,7 @@ RUN unzip jvb.zip && \
FROM debian:buster FROM debian:buster
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y openjdk-11-jdk apt-get install -y openjdk-11-jre-headless
COPY --from=builder /jvb/build /srv/jvb COPY --from=builder /jvb/build /srv/jvb
ENV HOME=/root ENV HOME=/root