blob: a907169ba1ae6f397a157364c842ec8fabf6bd1e [file] [log] [blame]
Areli Fuss0a3899f2017-11-19 13:28:08 +02001FROM jetty:9.3-jre8-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 && \
10 if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf; fi
11
12USER root
13
14RUN apk add --no-cache \
15 jq \
16 curl \
17 curl-dev \
18 openssl-dev \
19 python \
20 python-dev \
21 py-pip \
22 py-setuptools \
23 vim \
24 && :
25
26# Install Chef
27RUN set -ex && \
28 apk add --no-cache bash build-base ruby ruby-dev libffi-dev libxml2-dev && \
29 gem install chef berkshelf io-console --no-document
30
31RUN pip install pycurl
32
Areli, Fuss (af732p)87faf9c2018-03-25 14:22:44 +030033COPY set_user.sh /tmp/set_user.sh
34
35RUN sh -x /tmp/set_user.sh && rm -f /tmp/set_user.sh
36
Areli Fuss0a3899f2017-11-19 13:28:08 +020037USER jetty
38