blob: 9dee9dcd8bff96f822580046302fae6f886298a2 [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
12ENV BASE_NEXUS zl999y:ChangeMe@10.208.197.75:8443/repository/maven-public/org/openecomp/sdc
13
14# install chef-solo
Grinberg Motic3bda482017-02-23 11:24:34 +020015RUN curl -L https://omnitruck.chef.io/install.sh | bash
16
Michael Lando451a3402017-02-19 10:28:42 +020017
18COPY startup.sh /root/
19
20RUN chmod 770 /root/startup.sh
21
22ENTRYPOINT [ "/root/startup.sh" ]