blob: dd486102c5914e2a563db629c178b5dbdc73f149 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001FROM ubuntu
2RUN apt-get -y update && apt-get -y install --no-install-recommends apt-utils
3RUN apt-get -y install curl
4RUN apt-get -y install vim
5RUN apt-get -y install default-jre && apt-get -y install openjdk-8-jdk
6RUN update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
7
Michael Lando451a3402017-02-19 10:28:42 +02008COPY chef-solo /root/chef-solo/
9COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/
10
Michael Lando451a3402017-02-19 10:28:42 +020011# install chef-solo
Grinberg Motic3bda482017-02-23 11:24:34 +020012RUN curl -L https://omnitruck.chef.io/install.sh | bash
Michael Lando451a3402017-02-19 10:28:42 +020013
14COPY startup.sh /root/
Michael Lando451a3402017-02-19 10:28:42 +020015RUN chmod 770 /root/startup.sh
Michael Lando451a3402017-02-19 10:28:42 +020016ENTRYPOINT [ "/root/startup.sh" ]