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 |
| 15 | RUN curl -L https://www.opscode.com/chef/install.sh | bash |
| 16 | |
| 17 | COPY startup.sh /root/ |
| 18 | |
| 19 | RUN chmod 770 /root/startup.sh |
| 20 | |
| 21 | ENTRYPOINT [ "/root/startup.sh" ] |