From 9473928305819f84409df7780dff6f689951eb1d Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Tue, 2 Jul 2024 16:33:08 +0200 Subject: [PATCH] Fix the installation location and drop ironic-inspector After the switch to pip, the binary is installed in /usr/local/bin, while the entrypoint is /usr/bin/baremetal. To ensure better compatibility, tell pip to use /usr as the prefix. Drop ironic-inspector client: it's deprecated, and Metal3 does not need it any more. Signed-off-by: Dmitry Tantsur --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fa552a7..4bcb890 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM quay.io/centos/centos:stream9 COPY scripts/openstack /usr/bin/openstack RUN dnf install -y python3 python3-pip && \ - pip install python-ironicclient python-ironic-inspector-client --no-cache-dir && \ + pip install python-ironicclient --prefix /usr --no-cache-dir && \ chmod +x /usr/bin/openstack && \ dnf update -y && \ dnf clean all && \