Yuli Shlosberg | e11dc23 | 2018-01-29 16:19:52 +0200 | [diff] [blame] | 1 | FROM openjdk:8-jdk-alpine |
| 2 | |
| 3 | ARG HTTP_PROXY |
| 4 | ARG HTTPS_PROXY |
| 5 | |
| 6 | ENV HTTP_PROXY ${HTTP_PROXY} |
| 7 | ENV HTTPS_PROXY ${HTTPS_PROXY} |
| 8 | |
| 9 | RUN if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::proxy \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf; fi |
| 10 | RUN if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf; fi |
| 11 | |
| 12 | RUN apk add --no-cache \ |
| 13 | py-pip |
| 14 | |
| 15 | RUN pip install cqlsh==4.0.1 |
| 16 | |
| 17 | # Install Chef |
| 18 | RUN 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 |