blob: e50599139fa71c96ed1e637b04b3594dfcb8d475 [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 \
Denis Kasanic6cdcb852019-09-20 13:22:41 +02008 linux-headers \
Tal Gitelmand18094d2018-10-29 19:51:30 +02009 curl \
10 vim \
11 bash \
12 build-base \
Tomasz Golabek8a3e3fc2019-06-14 15:41:22 +020013 ruby=2.5.5-r0 \
Tal Gitelmand18094d2018-10-29 19:51:30 +020014 ruby-dev \
15 libffi-dev \
16 libxml2-dev && \
17 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 -070018 echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
19 apk update && \
Tal Gitelmand18094d2018-10-29 19:51:30 +020020 apk add binutils curl libcurl libtasn1