From 3b59e063c1a5dfdaac79fac3062632ec1dda0663 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 14 Aug 2024 11:10:39 +0200 Subject: [PATCH] Adopt Dockerfile to JDK 22 image changes. Add curl package. See #1502 --- ci/openjdk21-8-cassandra-3.11/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/openjdk21-8-cassandra-3.11/Dockerfile b/ci/openjdk21-8-cassandra-3.11/Dockerfile index d3653d0c1..37f35f8db 100644 --- a/ci/openjdk21-8-cassandra-3.11/Dockerfile +++ b/ci/openjdk21-8-cassandra-3.11/Dockerfile @@ -3,6 +3,13 @@ FROM ${BASE} # Any ARG statements before FROM are cleared. ARG CASSANDRA +RUN set -eux; \ +# sed -i -e 's/http/https/g' /etc/apt/sources.list ; \ + apt-get update ; \ + apt-get install -y curl; \ + apt-get clean; \ + rm -rf /var/lib/apt/lists/*; + RUN set -eux; \ CASSANDRA_URL="https://archive.apache.org/dist/cassandra/${CASSANDRA}/apache-cassandra-${CASSANDRA}-bin.tar.gz"; \ sed -i -e 's/http/https/g' /etc/apt/sources.list ; \