Skip to content

Commit

Permalink
Fix vbmc container build after tripleo deprecation
Browse files Browse the repository at this point in the history
The tripleo repo has been archived as tripleo is not maintained
anymore.
Let's switch to RDO repos for vbmc to avoid breakage.

Signed-off-by: Riccardo Pittau <[email protected]>
  • Loading branch information
elfosardo authored and metal3-io-bot committed Jun 12, 2024
1 parent fa9a39b commit aed4c65
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 aed4c65

Please sign in to comment.