Make fedora build more CI friendly
This commit is contained in:
parent
18f0d5ba5a
commit
c8f6b026bc
2 changed files with 6 additions and 6 deletions
|
@ -13,10 +13,10 @@ sudo dnf -y install docker
|
||||||
sudo dnf -y groupinstall "C Development Tools and Libraries"
|
sudo dnf -y groupinstall "C Development Tools and Libraries"
|
||||||
sudo dnf -y groupinstall "Development Tools"
|
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 -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 groupupdate core
|
sudo dnf -y groupupdate core
|
||||||
|
|
||||||
sudo dnf install ffmpeg-libs
|
sudo dnf -y install ffmpeg-libs
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
|
2
test.sh
2
test.sh
|
@ -36,5 +36,5 @@ if [[ -z $DOCKER_IMAGE ]]; then
|
||||||
DOCKER_IMAGE="$DETECTED_OS"
|
DOCKER_IMAGE="$DETECTED_OS"
|
||||||
fi
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue