summaryrefslogtreecommitdiffstats
path: root/base_sdc-python/Dockerfile
blob: f80ffe0ac412d60ee86da23fa1df8f4280c26bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM python:2.7-alpine

# Needed for pycurl
ENV PYCURL_SSL_LIBRARY=openssl

# Install packages only needed for building
RUN echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
    apk update && \
    apk add binutils jq libpng && \
    apk add --no-cache \
        libcurl \
        curl \
        jq \
        libressl-dev \
        bash \
        ruby=2.5.5-r0 \
        ruby-dev \
        libffi-dev \
        libxml2-dev && \
    apk add --no-cache --virtual .build-dependencies \
        build-base \
        curl-dev && \
    pip install 'influxdb==5.0.0' 'pycurl==7.43.0.1' 'requests==2.18.4' &&  \
        set -ex && \
    gem install \
        chef:13.8.5 \
        berkshelf:6.3.1 \
        io-console:0.4.6 \
        etc webrick \
        --no-document