From 940a6b2842a1f603f03a81650a99810cd20c2092 Mon Sep 17 00:00:00 2001 From: georg <georg@riseup.net> Date: Sun, 14 Apr 2019 22:10:22 +0000 Subject: [PATCH] fedora: try to fix rpmfusion repo install --- fedora | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fedora b/fedora index abfd93c..1fa2eef 100644 --- a/fedora +++ b/fedora @@ -1,8 +1,9 @@ FROM fedora -RUN dnf install -y - 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 +RUN export FEDORA_VERSION=$(rpm -E %fedora) +&& dnf install -y + https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$FEDORA_VERSION.noarch.rpm \ + https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$FEDORA_VERSION.noarch.rpm && dnf update && dnf install -y \ cairo \ -- GitLab