From cee9c7dc44dba2594a5d379f075954280472053e Mon Sep 17 00:00:00 2001 From: Andy Rusiecki Date: Sat, 20 Jan 2024 22:22:30 -0500 Subject: [PATCH] subshell for fedora version in container file --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 4d64a37..1e22558 100644 --- a/Containerfile +++ b/Containerfile @@ -8,8 +8,8 @@ RUN mkdir -p /usr/share/andyrusiecki COPY scripts/post-install.sh /usr/share/andyrusiecki RUN rpm-ostree install \ - https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${FEDORA_VERSION}.noarch.rpm \ - https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${FEDORA_VERSION}.noarch.rpm + https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ + https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm RUN rpm-ostree override remove \ firefox \