aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-cassandra
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-06-01 13:07:44 +0300
committerMichael Lando <ml636r@att.com>2017-06-01 13:07:44 +0300
commitfd3821dad11780d33c5373d74c957c442489945e (patch)
tree3288853414eee90f30c96cf5684112d2b601f674 /sdc-os-chef/sdc-cassandra
parent706e7163031401ae4598c921b7b320a8875ae606 (diff)
[sdc] docker file fix for cassandra
Change-Id: I8eadab56923de0da707a83c5d4dbb44814c9dc59 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'sdc-os-chef/sdc-cassandra')
-rw-r--r--sdc-os-chef/sdc-cassandra/Dockerfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/sdc-os-chef/sdc-cassandra/Dockerfile b/sdc-os-chef/sdc-cassandra/Dockerfile
index 29b1a2b94f..1ec802c39b 100644
--- a/sdc-os-chef/sdc-cassandra/Dockerfile
+++ b/sdc-os-chef/sdc-cassandra/Dockerfile
@@ -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/