summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2020-02-18 17:30:09 +0000
committerMichaelMorris <michael.morris@est.tech>2020-02-28 14:26:44 +0000
commit5b572fcff90eea8c7897fe8370477dce21ad1f2b (patch)
tree4b710d6cb4296d6ff18e413dde5b107c8679006d
parent27f171cf72c4373d5f98a0b557e2920dd06fc265 (diff)
Fix failing base_sdc-cassandra image build
Change-Id: I994f8521f1e53f2ce3e906e5fc087d9a6b3a1eca Issue-ID: SDC-2774 Signed-off-by: MichaelMorris <michael.morris@est.tech>
-rw-r--r--base_sdc-cassandra/Dockerfile15
1 files changed, 10 insertions, 5 deletions
diff --git a/base_sdc-cassandra/Dockerfile b/base_sdc-cassandra/Dockerfile
index 776aa70..7c8daf8 100644
--- a/base_sdc-cassandra/Dockerfile
+++ b/base_sdc-cassandra/Dockerfile
@@ -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