blob: 86d65223a6437e441b33c04e19b39a671e873a15 [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
8
9COPY chef-solo /root/chef-solo/
10COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/
11
12
13# install chef-solo
Grinberg Moti7aea13f2017-02-22 12:01:00 +020014#RUN curl -L http://www.opscode.com/chef/install.sh | bash
15bash chef-install.sh
Michael Lando451a3402017-02-19 10:28:42 +020016
17COPY startup.sh /root/
18
19RUN chmod 770 /root/startup.sh
20
21ENTRYPOINT [ "/root/startup.sh" ]