Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ USER root
ADD _build /build
WORKDIR /build

RUN rm /etc/yum.repos.d/*.repo
COPY etc/yum.repos.d/centos.repo /etc/yum.repos.d/centos.repo
RUN dnf distro-sync -y
RUN ansible-galaxy role install -r requirements.yml --roles-path /usr/share/ansible/roles
RUN ansible-galaxy collection install $ANSIBLE_GALAXY_CLI_COLLECTION_OPTS -r requirements.yml --collections-path /usr/share/ansible/collections

Expand Down
35 changes: 35 additions & 0 deletions etc/yum.repos.d/centos.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[appstream]
name=CentOS Stream $releasever - AppStream
baseurl=http://centos.mirror.iweb.com/$stream/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

[baseos]
name=CentOS Stream $releasever - BaseOS
baseurl=http://centos.mirror.iweb.com/$stream/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

#[extras]
#name=CentOS Stream $releasever - Extras
#baseurl=http://centos.mirror.iweb.com/$stream/extras/$basearch/os/
#gpgcheck=1
#enabled=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
#
#[extras-common]
#name=CentOS Stream $releasever - Extras common packages
#mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=extras-extras-common
#baseurl=http://centos.mirror.iweb.com/$stream/extras/$basearch/extras-common/
#gpgcheck=1
#enabled=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Extras

[powertools]
name=CentOS Stream $releasever - PowerTools
baseurl=http://centos.mirror.iweb.com/$stream/PowerTools/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial