Michael Lando | fd3821d | 2017-06-01 13:07:44 +0300 | [diff] [blame] | 1 | FROM cassandra:2.1.17 |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 2 | |
Michael Lando | 706e716 | 2017-05-19 00:28:52 +0300 | [diff] [blame] | 3 | #ENV DEBIAN_FRONTEND noninteractive |
Michael Lando | fd3821d | 2017-06-01 13:07:44 +0300 | [diff] [blame] | 4 | RUN apt-get -y update && apt-get -y install --no-install-recommends \ |
| 5 | curl \ |
| 6 | vim \ |
| 7 | apt-utils \ |
| 8 | openjdk-8-jdk |
| 9 | |
| 10 | RUN update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 11 | |
| 12 | COPY chef-solo /root/chef-solo/ |
| 13 | COPY chef-repo/cookbooks /root/chef-solo/cookbooks/ |
| 14 | |
| 15 | # install chef-solo |
Grinberg Moti | c3bda48 | 2017-02-23 11:24:34 +0200 | [diff] [blame] | 16 | RUN curl -L https://omnitruck.chef.io/install.sh | bash |
| 17 | |
Grinberg Moti | f79a5d1 | 2017-02-22 15:36:03 +0200 | [diff] [blame] | 18 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 19 | COPY startup.sh /root/ |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 20 | RUN chmod 770 /root/startup.sh |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 21 | ENTRYPOINT [ "/root/startup.sh" ] |