Skip to content

Commit

Permalink
Use our custom build of flashrom (#121)
Browse files Browse the repository at this point in the history
Signed-off-by: Nahum Shalman <nshalman@equinix.com>
  • Loading branch information
nshalman authored Jan 11, 2024
1 parent 0746c15 commit 3fe00ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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/*
Expand Down

0 comments on commit 3fe00ad

Please sign in to comment.