Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Build Error: iptables-libs RPM File Not Found #713

Open
moggaa opened this issue Sep 27, 2024 · 0 comments
Open

Docker Build Error: iptables-libs RPM File Not Found #713

moggaa opened this issue Sep 27, 2024 · 0 comments

Comments

@moggaa
Copy link

moggaa commented Sep 27, 2024

Is this a BUG REPORT or FEATURE REQUEST?

Choose one: BUG REPORT

What happened:

The Docker build fails during the following step:

RUN yum install -y https://dl.rockylinux.org/pub/rocky/9/devel/$(uname -m)/os/Packages/i/iptables-libs-1.8.10-2.el9.$(uname -m).rpm
3.398 [MIRROR] iptables-libs-1.8.10-2.el9.x86_64.rpm: Status code: 404 for https://dl.rockylinux.org/pub/rocky/9/devel/x86_64/os/Packages/i/iptables-libs-1.8.10-2.el9.x86_64.rpm 

The iptables-libs version has been updated,(iptables-libs-1.8.10-4.el9_4.x86_64.rpm), and the specified RPM file is no longer available at this location.

What you expected to happen:

The iptables-libs package should be installed successfully, and the Docker image should build without errors.

How to reproduce it (as minimally and precisely as possible):

  1. Attempt to build the Litmus-go project Docker image.
  2. The build fails at the yum install command for iptables-libs.

Anything else we need to know?:

To resolve this, I suggest using the archived version of the RPM package instead of the latest version. The correct path would be:

RUN yum install -y https://dl.rockylinux.org/vault/rocky/9.4/devel/$(uname -m)/os/Packages/i/iptables-libs-1.8.10-2.el9.$(uname -m).rpm

This ensures that the specified version of iptables-libs is available for installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant