I need a CentOS Stream container image that I can use in a Bitbucket pipeline.
According to:
https://wiki.centos.org/FAQ/CentOSStream
"Note: CentOS Stream does not include container images. The current recommendation is to use Red Hat Universal Base Image (UBI) and include centos-release-stream (link coming!)."
As it's been over a year since CentOS Stream was released, is this link still not available?
I tried a few things with no success:
Code: Select all
dnf install centos-release-stream
Error: Unable to find a match: centos-release-stream
Code: Select all
dnf install http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/Packages/centos-stream-release-8.4-1.el8.noarch.rpm
Error:
Problem: conflicting requests
- nothing provides centos-repos(8) needed by centos-stream-release-8.4-1.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
What is the correct method to convert the Red Hat Universal Base Image into a CentOS Stream environment within a container?
Thanks.