[sdc] docker file fix for cassandra 73/4573/1
authorMichael Lando <ml636r@att.com>
Thu, 1 Jun 2017 10:07:44 +0000 (13:07 +0300)
committerMichael Lando <ml636r@att.com>
Thu, 1 Jun 2017 10:07:44 +0000 (13:07 +0300)
Change-Id: I8eadab56923de0da707a83c5d4dbb44814c9dc59
Signed-off-by: Michael Lando <ml636r@att.com>
sdc-os-chef/sdc-cassandra/Dockerfile

index 29b1a2b..1ec802c 100644 (file)
@@ -1,7 +1,13 @@
-FROM cassandra:3
+FROM cassandra:2.1.17
 
 #ENV DEBIAN_FRONTEND noninteractive
-RUN apt-get -y update && apt-get -y install --no-install-recommends curl vim apt-utils
+RUN apt-get -y update && apt-get -y install --no-install-recommends \
+    curl   \
+    vim \
+    apt-utils  \
+    openjdk-8-jdk
+
+RUN update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
 
 COPY chef-solo /root/chef-solo/
 COPY chef-repo/cookbooks /root/chef-solo/cookbooks/