Files
opensnp.org-docker/bin/build
Helge Rausch 753f5b9ca8 Move build step into own script (#27)
... so it works when deploying and running the tests.
2022-12-02 14:05:42 +01:00

12 lines
247 B
Bash
Executable File

#!/usr/bin/env bash
set -e
snpr_rev="$SNPR_REV"
if [ -z "$snpr_rev" ]; then
snpr_rev=$(git ls-remote https://github.com/opensnp/snpr master | cut -f 1)
fi
docker-compose build --build-arg SNPR_REV=$snpr_rev rails
docker-compose build sidekiq