Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 1 | FROM elasticsearch:2.1.2 |
| 2 | |
| 3 | RUN apt-get -y update |
| 4 | RUN apt-get -y install apt-utils |
| 5 | RUN apt-get -y install curl |
| 6 | RUN apt-get -y install vim |
| 7 | RUN mkdir -p /var/chef/nodes |
| 8 | |
| 9 | COPY chef-solo /root/chef-solo/ |
| 10 | COPY chef-repo/cookbooks /root/chef-solo/cookbooks/ |
| 11 | |
| 12 | ENV BASE_NEXUS zl999y:ChangeMe@10.208.197.75:8443/repository/maven-public/org/openecomp/sdc |
| 13 | |
| 14 | # install chef-solo |
Grinberg Moti | c3bda48 | 2017-02-23 11:24:34 +0200 | [diff] [blame] | 15 | RUN curl -L https://omnitruck.chef.io/install.sh | bash |
| 16 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 17 | |
| 18 | COPY startup.sh /root/ |
| 19 | |
| 20 | RUN chmod 770 /root/startup.sh |
| 21 | |
| 22 | ENTRYPOINT [ "/root/startup.sh" ] |