Skip to content

Commit

Permalink
Cleanup Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Nahum Shalman <[email protected]>
  • Loading branch information
nshalman committed Jan 4, 2024
1 parent 27c5fee commit 02a6c20
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 @@ -85,6 +85,7 @@ RUN microdnf install -y --setopt=tsflags=nodocs --setopt=install_weak_deps=0 \
pciutils \
smartmontools \
tar \
udev \
unzip \
util-linux \
python \
Expand All @@ -101,8 +102,8 @@ RUN pip install uefi_firmware==v1.11
# Delete /tmp/* as we don't need those included in the image.
RUN rm -rf /tmp/*

# Install our custom flashrom package
COPY --from=flashrom /root/rpmbuild/RPMS/x86_64/flashrom*.rpm /tmp
RUN microdnf install -y udev
RUN rpm -ivh /tmp/flashrom*.rpm

# Build a lean image with dependencies installed.
Expand Down

0 comments on commit 02a6c20

Please sign in to comment.