Skip to content

Commit

Permalink
Only ship flashrom on x86_64 for now (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
nshalman authored Jan 11, 2024
1 parent 3fe00ad commit 60a43e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ 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
RUN if [[ $TARGETARCH = "amd64" ]] ; then \
rpm -ivh /tmp/flashrom*.rpm ; fi

# Delete /tmp/* as we don't need those included in the image.
RUN rm -rf /tmp/*
Expand Down

0 comments on commit 60a43e8

Please sign in to comment.