blob: de3d43e7f9a1b1f4897b504011a603d5cef3eee0 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001FROM elasticsearch:2.1.2
2
3RUN apt-get -y update
4RUN apt-get -y install apt-utils
5RUN apt-get -y install curl
6RUN apt-get -y install vim
7RUN mkdir -p /var/chef/nodes
8
9COPY chef-solo /root/chef-solo/
10COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
11
Michael Lando451a3402017-02-19 10:28:42 +020012# install chef-solo
Grinberg Motic3bda482017-02-23 11:24:34 +020013RUN curl -L https://omnitruck.chef.io/install.sh | bash
14
Michael Lando451a3402017-02-19 10:28:42 +020015COPY startup.sh /root/
Michael Lando451a3402017-02-19 10:28:42 +020016RUN chmod 770 /root/startup.sh
17
18ENTRYPOINT [ "/root/startup.sh" ]