Files
loci/scripts/pip_install.sh
Sam Yaple a0ff102c54 Add requirements support to generic dockerfile
If the bindep changes upstream merge, then we can collapse alot of this
into bindep.txt file as well. For now, manually declaring is fine.

Change-Id: I682948b9480a19291f12a827cd3f4afdb943db8e
2017-10-01 01:02:31 -04:00

14 lines
384 B
Bash
Executable File

#!/bin/bash -ex
packages=$@
/opt/loci/fetch_wheels.py
mkdir -p /tmp/wheels/
# NOTE(SamYaple): We exclude all files starting with '.' as these can be
# control files for AUFS which have special meaning on AUFS backed file
# stores.
tar xf /tmp/wheels.tar.gz --exclude='.*' -C /tmp/wheels/
pip install --no-cache-dir --no-index --no-compile --find-links /tmp/wheels/ ${packages[@]}