Initial OpenECOMP SDC commit
[sdc.git] / sdc-os-chef / sdc-cassandra / Dockerfile
1 FROM cassandra:2.1.16
2
3 ENV DEBIAN_FRONTEND noninteractive
4 RUN apt-get -y update && apt-get -y install --no-install-recommends apt-utils
5 RUN apt-get -y install curl
6 RUN apt-get -y install vim
7 RUN apt-get -y install default-jre && apt-get -y install openjdk-8-jdk
8 RUN update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
9 ENV DEBIAN_FRONTEND teletype
10
11 COPY chef-solo /root/chef-solo/
12 COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
13
14 # install chef-solo
15 RUN curl -L https://www.opscode.com/chef/install.sh | bash
16
17 COPY startup.sh /root/
18
19 RUN chmod 770 /root/startup.sh
20
21 ENTRYPOINT [ "/root/startup.sh" ]
22