Skip to content

Commit

Permalink
fix Dockerfile (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
edcdavid authored Oct 3, 2024
1 parent f092f35 commit 0ef3cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM registry.access.redhat.com/ubi9/ubi@sha256:9e6a89ab2a9224712391c77fab2ab01009e387aff42854826427aaf18b98b1ff
RUN dnf -y --disableplugin=subscription-manager install iputils iproute ethtool pciutils && dnf clean all --disableplugin=subscription-manager
RUN dnf -y --disableplugin=subscription-manager install iputils iproute ethtool pciutils

Check failure on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / Run Linters, Vet and unit tests

DL3040 warning: `dnf clean all` missing after dnf command.

Check failure on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / Run Linters, Vet and unit tests

DL3041 warning: Specify version with `dnf install -y <package>-<version>`.
RUN dnf -y --disableplugin=subscription-manager remove python3-setuptools

Check failure on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / Run Linters, Vet and unit tests

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
COPY l2discovery-linux-amd64 /usr/bin
COPY l2discovery-linux-arm64 /usr/bin
Expand Down

0 comments on commit 0ef3cff

Please sign in to comment.