Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Fix the installation location and drop ironic-inspector
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
dtantsur committed Jul 2, 2024
1 parent a5df92c commit 9473928
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
Expand Up @@ -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 && \
Expand Down

0 comments on commit 9473928

Please sign in to comment.