f80ffe0ac412d60ee86da23fa1df8f4280c26bc0
[sdc/sdc-docker-base.git] / base_sdc-python / Dockerfile
1 FROM python:2.7-alpine
2
3 # Needed for pycurl
4 ENV PYCURL_SSL_LIBRARY=openssl
5
6 # Install packages only needed for building
7 RUN echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
8     apk update && \
9     apk add binutils jq libpng && \
10     apk add --no-cache \
11         libcurl \
12         curl \
13         jq \
14         libressl-dev \
15         bash \
16         ruby=2.5.5-r0 \
17         ruby-dev \
18         libffi-dev \
19         libxml2-dev && \
20     apk add --no-cache --virtual .build-dependencies \
21         build-base \
22         curl-dev && \
23     pip install 'influxdb==5.0.0' 'pycurl==7.43.0.1' 'requests==2.18.4' &&  \
24         set -ex && \
25     gem install \
26         chef:13.8.5 \
27         berkshelf:6.3.1 \
28         io-console:0.4.6 \
29         etc webrick \
30         --no-document
31
32
33
34
35