From 3fe00ad26bee4061927db8e3fd962053cf33c5d0 Mon Sep 17 00:00:00 2001 From: Nahum Shalman Date: Thu, 11 Jan 2024 09:59:09 -0500 Subject: [PATCH] Use our custom build of flashrom (#121) Signed-off-by: Nahum Shalman --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1120049e..ed53519e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,9 +73,9 @@ RUN microdnf install -y --setopt=tsflags=nodocs --setopt=install_weak_deps=0 \ pciutils \ smartmontools \ tar \ + udev \ unzip \ util-linux \ - flashrom \ python \ python-devel \ python-pip \ @@ -86,6 +86,9 @@ RUN microdnf install -y --setopt=tsflags=nodocs --setopt=install_weak_deps=0 \ RUN pip install uefi_firmware==v1.11 +# Install our custom flashrom package +ADD https://github.com/metal-toolbox/flashrom/releases/download/v1.3.99/flashrom-1.3.99-0.el9.x86_64.rpm /tmp +RUN rpm -ivh /tmp/flashrom*.rpm # Delete /tmp/* as we don't need those included in the image. RUN rm -rf /tmp/*