From 31e6cc009eed290f827d08ecd36011a422afa5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Wed, 23 Nov 2022 23:49:36 +0100 Subject: [PATCH] Upgrade to zk 3.8, upgrade to temurin java-11, delete apt cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #514 Signed-off-by: Jan Høydahl --- docker/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 1ef1fbdc..7022206c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -9,16 +9,17 @@ # ARG DOCKER_REGISTRY -FROM ${DOCKER_REGISTRY:+$DOCKER_REGISTRY/}openjdk:11-jdk +FROM ${DOCKER_REGISTRY:+$DOCKER_REGISTRY/}eclipse-temurin/11-jdk-focal RUN mkdir /zu COPY zu /zu WORKDIR /zu RUN ./gradlew --console=verbose --info shadowJar -FROM ${DOCKER_REGISTRY:+$DOCKER_REGISTRY/}zookeeper:3.7.1 +FROM ${DOCKER_REGISTRY:+$DOCKER_REGISTRY/}zookeeper:3.8-temurin COPY bin /usr/local/bin RUN chmod +x /usr/local/bin/* COPY --from=0 /zu/build/libs/zu.jar /opt/libs/ RUN apt-get -q update && \ - apt-get install -y dnsutils curl procps socat + apt-get install -y dnsutils curl procps socat; \ + rm -rf /var/lib/apt/lists/*;