blob: 6d2c55d4c89981f6df16280cd224698ff5d9c95a [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001FROM cassandra:2.1.16
2
3ENV DEBIAN_FRONTEND noninteractive
4RUN apt-get -y update && apt-get -y install --no-install-recommends apt-utils
5RUN apt-get -y install curl
6RUN apt-get -y install vim
7RUN apt-get -y install default-jre && apt-get -y install openjdk-8-jdk
8RUN update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
9ENV DEBIAN_FRONTEND teletype
10
11COPY chef-solo /root/chef-solo/
12COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
13
14# install chef-solo
15RUN curl -L https://www.opscode.com/chef/install.sh | bash
16
17COPY startup.sh /root/
18
19RUN chmod 770 /root/startup.sh
20
21ENTRYPOINT [ "/root/startup.sh" ]
22