Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update image to centos:stream9 used for testing rpm build on ci #4210

Merged
merged 1 commit into from
Jun 6, 2024
Merged
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
4 changes: 2 additions & 2 deletions images/rpmbuild/Containerfile.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM quay.io/centos/centos:stream8
FROM quay.io/centos/centos:stream9
WORKDIR $APP_ROOT/src
RUN yum -y install git-core rpm-build dnf-plugins-core 'dnf-command(builddep)' \
https://github.com/crc-org/admin-helper/releases/download/v0.5.2/crc-admin-helper-0.5.2-1.el8.x86_64.rpm \
https://github.com/crc-org/machine-driver-libvirt/releases/download/0.13.7/crc-driver-libvirt-0.13.7-1.el8.x86_64.rpm
COPY . .
RUN mkdir -p ~/rpmbuild/SOURCES/ && \
git archive --format=tar --prefix=crc-__VERSION__-__OPENSHIFT_VERSION__/ HEAD | gzip >~/rpmbuild/SOURCES/crc-__VERSION__.tar.gz
RUN yum config-manager --set-enabled powertools && \
RUN yum config-manager --set-enabled crb && \
yum -y builddep packaging/rpm/crc.spec && \
rpmbuild -bb -v packaging/rpm/crc.spec