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 #4 from dtantsur/baremetal
Browse files Browse the repository at this point in the history
Transition away from openstackclient
  • Loading branch information
metal3-io-bot authored Mar 24, 2021
2 parents 23878bc + 2927438 commit 7ff8b1d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
FROM docker.io/centos:centos8

# 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/tripleo_repos/main.py | python3 - -b master current-tripleo && \
dnf update -y && \
dnf install -y python3-ironicclient python3-ironic-inspector-client python3-openstackclient && \
dnf update -y --setopt=install_weak_deps=False && \
dnf install -y --setopt=install_weak_deps=False python3-ironicclient python3-ironic-inspector-client && \
dnf clean all && \
rm -rf /var/cache/{yum,dnf}/*
rm -rf /var/cache/{yum,dnf}/* && \
chmod +x /usr/bin/openstack

ENTRYPOINT ["/usr/bin/openstack"]
ENTRYPOINT ["/usr/bin/baremetal"]
4 changes: 4 additions & 0 deletions scripts/openstack
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

echo "Please use /usr/bin/baremetal instead"
exit 1

0 comments on commit 7ff8b1d

Please sign in to comment.