Skip to content

Instantly share code, notes, and snippets.

@roadsideseb
Last active Apr 18, 2017
Embed
What would you like to do?
#!/bin/bash
set -ex
pip_args=${@:-"--help"}
apk add --no-cache \
--virtual .build-deps \
gcc \
g++ \
make \
libc-dev \
linux-headers \
libffi-dev \
openssh-client \
libjpeg-turbo-dev \
zlib-dev \
postgresql-dev \
libxml2-dev \
libxslt-dev
ln -s /usr/include/locale.h /usr/include/xlocale.h
pip --no-cache-dir $pip_args
apk del .build-deps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment