Skip to content

Instantly share code, notes, and snippets.

@ruanbekker
Created July 18, 2017 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruanbekker/03b794b83bf0b07d5fe3179458659efb to your computer and use it in GitHub Desktop.
Save ruanbekker/03b794b83bf0b07d5fe3179458659efb to your computer and use it in GitHub Desktop.
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/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment