blob: 15c97460834abb7c06ac471825780ed227569fe7 [file] [log] [blame]
Areli Fuss0a3899f2017-11-19 13:28:08 +02001FROM elasticsearch:2.4.6-alpine
Areli Fuss547839b2017-08-22 15:34:37 +03002
Areli Fuss547839b2017-08-22 15:34:37 +03003RUN mkdir -p /var/chef/nodes
4
Areli Fuss0a3899f2017-11-19 13:28:08 +02005# Install Chef
6RUN set -ex && \
Tal Gitelmand18094d2018-10-29 19:51:30 +02007 apk add --no-cache \
8 curl \
9 vim \
10 bash \
11 build-base \
Tomasz Golabek8a3e3fc2019-06-14 15:41:22 +020012 ruby=2.5.5-r0 \
Tal Gitelmand18094d2018-10-29 19:51:30 +020013 ruby-dev \
14 libffi-dev \
15 libxml2-dev && \
16 gem install chef:13.8.5 berkshelf:6.3.1 io-console:0.4.6 etc webrick --no-document && \
Gary Wuf2da63d2018-05-07 17:21:22 -070017 echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
18 apk update && \
Tal Gitelmand18094d2018-10-29 19:51:30 +020019 apk add binutils curl libcurl libtasn1