blob: 3c63c1d156a61554547fde898eed39cc7491f00b [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 Motic3bda482017-02-23 11:24:34 +020014RUN curl -L https://omnitruck.chef.io/install.sh | bash
Michael Lando451a3402017-02-19 10:28:42 +020015
16COPY startup.sh /root/
17
18RUN chmod 770 /root/startup.sh
19
20ENTRYPOINT [ "/root/startup.sh" ]