From c24a99fd6ec727d4fc95fa656cbe2bf221a3b3aa Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Mon, 2 Mar 2020 14:05:54 +0000 Subject: Fix failing base_sdc-cassandra image build Signed-off-by: MichaelMorris Issue-ID: SDC-2774 Change-Id: Ifca72e2c06b55eb4b5a467577bea2bed7e15dd5c --- base_sdc-cassandra/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'base_sdc-cassandra') diff --git a/base_sdc-cassandra/Dockerfile b/base_sdc-cassandra/Dockerfile index 7c8daf8..8cb2370 100644 --- a/base_sdc-cassandra/Dockerfile +++ b/base_sdc-cassandra/Dockerfile @@ -1,11 +1,13 @@ FROM cassandra:3.11.4 -RUN # \ - apt-get -y --no-install-recommends install \ +RUN mv /etc/apt/sources.list.d/cassandra.list /tmp && \ + apt-get -o Acquire::Check-Valid-Until=false update && \ + mv /tmp/cassandra.list /etc/apt/sources.list.d/cassandra.list +RUN apt-get -y --no-install-recommends install \ apt-transport-https \ curl \ wget && \ - wget -q -O - https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add - && \ + wget -q -O - https://www.apache.org/dist/cassandra/KEYS | apt-key add - && \ apt-get -o Acquire::Check-Valid-Until=false update && \ apt-get -y --no-install-recommends install \ perl \ -- cgit 1.2.3-korg