Skip to content

Commit

Permalink
Merge pull request metal3-io#523 from metal3-io-bot/cherry-pick-480-t…
Browse files Browse the repository at this point in the history
…o-release-23.1

[release-23.1] 🐛 Fix vbmc container build after tripleo deprecation
  • Loading branch information
metal3-io-bot committed Jul 1, 2024
2 parents fa9a39b + aed4c65 commit 47fca4d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions resources/vbmc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ ARG BASE_IMAGE=quay.io/centos/centos:stream9

FROM $BASE_IMAGE

RUN dnf install -y python3 python3-requests python3-pip && \
curl https://raw.githubusercontent.com/openstack/tripleo-repos/master/plugins/module_utils/tripleo_repos/main.py | python3 - -b master current-tripleo && \
dnf upgrade -y && \
dnf install -y python3-virtualbmc && \
dnf clean all && \
rm -rf /var/cache/{yum,dnf}/*
# Configure OpenStack repos from RDO https://www.rdoproject.org
RUN dnf upgrade -y && \
dnf install -y dnf-plugins-core && \
dnf config-manager --enable crb && \
curl https://trunk.rdoproject.org/centos9-master/puppet-passed-ci/delorean.repo -o /etc/yum.repos.d/rdo.repo && \
curl https://trunk.rdoproject.org/centos9-master/delorean-deps.repo -o /etc/yum.repos.d/rdo-deps.repo && \
dnf install -y python3-virtualbmc && \
dnf clean all && \
rm -rf /var/cache/{yum,dnf}/*

CMD /usr/bin/vbmcd --foreground

0 comments on commit 47fca4d

Please sign in to comment.