blob: 41daef77973249147849ae8690810a07c08962cb [file] [log] [blame]
Yuli Shlosberge11dc232018-01-29 16:19:52 +02001FROM openjdk:8-jdk-alpine
2
3ARG HTTP_PROXY
4ARG HTTPS_PROXY
5
6ENV HTTP_PROXY ${HTTP_PROXY}
7ENV HTTPS_PROXY ${HTTPS_PROXY}
8
9RUN if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::proxy \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf; fi
10RUN if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf; fi
11
12RUN apk add --no-cache \
13 py-pip
14
15RUN pip install cqlsh==4.0.1
16
17# Install Chef
18RUN set -ex && \
19 apk add --no-cache bash build-base ruby ruby-dev libffi-dev libxml2-dev && \
20 gem install chef berkshelf io-console --no-document