mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
21 lines
516 B
Bash
Executable File
21 lines
516 B
Bash
Executable File
#!/bin/bash
|
|
|
|
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
docker build -t internetarchive/rethinkdb $script_dir || exit 1
|
|
|
|
uid=$(id -u)
|
|
user=$(id -un)
|
|
|
|
for python in python2.7 python3.4
|
|
do
|
|
docker run --rm --volume="$script_dir/..:/rethinkstuff" internetarchive/rethinkdb /sbin/my_init -- \
|
|
true < /dev/null
|
|
# bash -x -c "cd /rethinkstuff \
|
|
# && virtualenv -p $python /tmp/venv \
|
|
# && source /tmp/venv/bin/activate \
|
|
# && pip install pytest . \
|
|
# && py.test -v -s tests"
|
|
done
|
|
|