Use jre headless for more leightweight images
This commit is contained in:
parent
a1be6b31ed
commit
d76d82fccb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue