Skip to content

Instantly share code, notes, and snippets.

@ajvengo
Last active August 12, 2017 14:39
Show Gist options
  • Save ajvengo/4c4a200ce815c6266b89c4e88d545d06 to your computer and use it in GitHub Desktop.
Save ajvengo/4c4a200ce815c6266b89c4e88d545d06 to your computer and use it in GitHub Desktop.
Alpine based python2 stack: scipy, numpy, seaborn, pandas, lmfit, matplotlib
FROM alpine:edge
MAINTAINER Vladimir Rapatskiy <rapatsky@gmail.com>
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >>/etc/apk/repositories && \
apk update && \
apk add --no-cache \
py-matplotlib \
py-scipy \
py2-pip && \
apk add --no-cache --virtual .build-deps \
build-base \
gcc \
musl-dev \
python-dev \
py-numpy-dev && \
pip install lmfit seaborn && \
apk del .build-deps
ENTRYPOINT ["/usr/bin/python"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment