Make fedora build more CI friendly

This commit is contained in:
Cyryl Płotnicki 2019-01-19 10:11:50 +00:00
parent 18f0d5ba5a
commit c8f6b026bc
2 changed files with 6 additions and 6 deletions

View file

@ -13,10 +13,10 @@ sudo dnf -y install docker
sudo dnf -y groupinstall "C Development Tools and Libraries"
sudo dnf -y groupinstall "Development Tools"
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf groupupdate core
sudo dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf -y groupupdate core
sudo dnf install ffmpeg-libs
sudo dnf -y install ffmpeg-libs
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

View file

@ -36,5 +36,5 @@ if [[ -z $DOCKER_IMAGE ]]; then
DOCKER_IMAGE="$DETECTED_OS"
fi
docker run -v $CURRENT_DIR:$INSIDER_ROOT_DIR $DOCKER_IMAGE $INSIDER_ROOT_DIR/$DIR/test_insider
docker run -v $CURRENT_DIR:$INSIDER_ROOT_DIR:Z $DOCKER_IMAGE $INSIDER_ROOT_DIR/$DIR/test_insider