Fix failing base_sdc-cassandra image build 04/102604/1
authorMichaelMorris <michael.morris@est.tech>
Tue, 18 Feb 2020 17:30:09 +0000 (17:30 +0000)
committerMichaelMorris <michael.morris@est.tech>
Fri, 28 Feb 2020 14:26:44 +0000 (14:26 +0000)
Change-Id: I994f8521f1e53f2ce3e906e5fc087d9a6b3a1eca
Issue-ID: SDC-2774
Signed-off-by: MichaelMorris <michael.morris@est.tech>
base_sdc-cassandra/Dockerfile

index 776aa70..7c8daf8 100644 (file)
@@ -1,11 +1,16 @@
 FROM cassandra:3.11.4
 
-
-RUN apt-get -o Acquire::Check-Valid-Until=false update && \
+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 - && \
+    apt-get -o Acquire::Check-Valid-Until=false update && \
     apt-get -y --no-install-recommends install \
-    perl \
-    python \
-    ntp && \
+      perl \
+      python \
+      ntp && \
     apt-get -y autoremove && \
     update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java && \
     curl -L https://omnitruck.chef.io/install.sh | bash -s -- -v 13.8.5