From 54e1a802c5ab8493508361172d6055658864bccf Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Wed, 20 Jan 2021 15:34:38 -0500 Subject: [PATCH] Dont fail imagee builds because of debuginfo repo problems --- installer/roles/image_build/templates/Dockerfile.j2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/installer/roles/image_build/templates/Dockerfile.j2 b/installer/roles/image_build/templates/Dockerfile.j2 index fa4f9e35e8..fc3424abf4 100644 --- a/installer/roles/image_build/templates/Dockerfile.j2 +++ b/installer/roles/image_build/templates/Dockerfile.j2 @@ -148,7 +148,7 @@ RUN cd /usr/local/bin && \ {% if build_dev|bool %} # Install development/test requirements -RUN dnf --enablerepo=debuginfo -y install \ +RUN dnf -y install \ gdb \ gtk3 \ gettext \ @@ -162,13 +162,17 @@ RUN dnf --enablerepo=debuginfo -y install \ nss \ make \ patch \ - python3-debuginfo \ socat \ tmux \ wget \ diffutils \ unzip && \ npm install -g n && n 14.15.1 && dnf remove -y nodejs + +# This package randomly fails to download. +# It is nice to have in the dev env, but not necessary. +# Add it back to the list above if the repo ever straighten up. +RUN dnf --enablerepo=debuginfo -y install python3-debuginfo || : {% endif %} # Copy app from builder