tobiko/tools/install-bindeps.sh
Federico Ressi 69ea632d3e Update Dockerfile to use bindep and tox
Change-Id: I1fd2e966863908751ab5cba685e99c1ddf07b582
2020-06-19 07:39:26 +02:00

11 lines
190 B
Bash
Executable File

#!/bin/bash
set -ex
INSTALL_PACKAGE=$(which yum || which apt)
if ! tox -e bindep ; then
.tox/bindep/bin/bindep -b | xargs -r "${INSTALL_PACKAGE}" install -y
.tox/bindep/bin/bindep
fi