ruanbekker
7/18/2017 - 2:41 PM

Dockerfile for Python 2.7 on Alpine 3.6 (233MB)

Dockerfile for Python 2.7 on Alpine 3.6 (233MB)

FROM alpine:3.6

MAINTAINER Ruan Bekker

RUN apk update && \
    apk add \
    dumb-init \
    musl \
    linux-headers \
    build-base \
    bash \
    git \
    ca-certificates \
    python2 \
    python2-dev \
    py-setuptools

RUN easy_install-2.7 pip && \
    rm -rf /var/cache/apk/*