From: Jérôme Benoit Date: Mon, 31 Oct 2022 09:29:43 +0000 (+0100) Subject: Dockerfile: cleanup X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=279db0f29fc4e138daba067e28f57b1956b49d9c;p=mbt-docker.git Dockerfile: cleanup Signed-off-by: Jérôme Benoit --- diff --git a/Dockerfile b/Dockerfile index 6a4fb36..1c67242 100644 --- a/Dockerfile +++ b/Dockerfile @@ -143,9 +143,9 @@ RUN set -ex \ && apt-get update \ && apt-get install -y ca-certificates curl gnupg dirmngr --no-install-recommends \ && rm -rf /var/lib/apt/lists/* \ - && curl -fsSL --compressed https://downloads.apache.org/maven/KEYS | gpg --import \ && curl -fsSLO --compressed ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz \ && curl -fsSLO --compressed ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz.asc \ + && curl -fsSL --compressed https://downloads.apache.org/maven/KEYS | gpg --import \ && gpg --batch --verify apache-maven-${MAVEN_VERSION}-bin.tar.gz.asc apache-maven-${MAVEN_VERSION}-bin.tar.gz \ && mkdir -p ${MAVEN_HOME} ${MAVEN_HOME}/ref \ && tar -xzf apache-maven-${MAVEN_VERSION}-bin.tar.gz -C ${MAVEN_HOME} --strip-components=1 \