summaryrefslogtreecommitdiffstats
path: root/base_sdc-cassandra/Dockerfile
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2020-03-02 14:05:54 +0000
committerMichaelMorris <michael.morris@est.tech>2020-03-02 14:05:58 +0000
commitc24a99fd6ec727d4fc95fa656cbe2bf221a3b3aa (patch)
tree5e2e15284806de948063e9761264530543894cac /base_sdc-cassandra/Dockerfile
parent42783072f49b10565a54a73f81619dfd9066fc69 (diff)
Fix failing base_sdc-cassandra image build1.6.0
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-2774 Change-Id: Ifca72e2c06b55eb4b5a467577bea2bed7e15dd5c
Diffstat (limited to 'base_sdc-cassandra/Dockerfile')
-rw-r--r--base_sdc-cassandra/Dockerfile8
1 files changed, 5 insertions, 3 deletions
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 \