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

Commit

Permalink
Merge pull request #21 from Nordix/install-ironic-client-with-pip
Browse files Browse the repository at this point in the history
install ironic client with pip to fix build
  • Loading branch information
metal3-io-bot authored May 28, 2024
2 parents c18830c + eb84847 commit 5b23bcf
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ FROM quay.io/centos/centos:stream9
# Help people find the actual baremetal command
COPY scripts/openstack /usr/bin/openstack

RUN dnf install -y python3 python3-requests && \
curl https://raw.githubusercontent.com/openstack/tripleo-repos/master/plugins/module_utils/tripleo_repos/main.py | python3 - -b master current-tripleo && \
dnf update -y --setopt=install_weak_deps=False && \
dnf install -y --setopt=install_weak_deps=False python3-ironicclient python3-ironic-inspector-client && \
RUN dnf install -y python3 python3-pip && \
pip install python-ironicclient python-ironic-inspector-client --no-cache-dir && \
chmod +x /usr/bin/openstack && \
dnf update -y && \
dnf clean all && \
rm -rf /var/cache/{yum,dnf}/* && \
chmod +x /usr/bin/openstack
rm -rf /var/cache/{yum,dnf}/*

ENTRYPOINT ["/usr/bin/baremetal"]

0 comments on commit 5b23bcf

Please sign in to comment.