Skip to content

Instantly share code, notes, and snippets.

@roadsideseb
Last active April 18, 2017 20:45
Show Gist options
  • Save roadsideseb/43eab7c22b36bc628e28aa4c6fa00d8a to your computer and use it in GitHub Desktop.
Save roadsideseb/43eab7c22b36bc628e28aa4c6fa00d8a to your computer and use it in GitHub Desktop.
#!/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