Skip to content

Commit

Permalink
Merge pull request #480 from elfosardo/tripleo-is-gone-fix
Browse files Browse the repository at this point in the history
🐛 Fix vbmc container build after tripleo deprecation
  • Loading branch information
metal3-io-bot authored Mar 1, 2024
2 parents 6d17b90 + 27225ef commit 3eda5fc
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 3eda5fc

Please sign in to comment.