-
Notifications
You must be signed in to change notification settings - Fork 145
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
[master] Add CentOS Stream 10. #1104
Conversation
rpm/centos-10/Dockerfile
Outdated
# RHEL8 / CentOS 8 changed behavior and no longer "rpm --import" or | ||
# "rpmkeys --import"as part of rpm package's %post scriplet. See | ||
# https://forums.centos.org/viewtopic.php?f=54&t=72574, and | ||
# https://access.redhat.com/solutions/3720351 | ||
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial | ||
RUN dnf install -y rpm-build rpmlint dnf-plugins-core | ||
RUN dnf config-manager --set-enabled crb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like some changes are needed;
> [stage-1 2/8] RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial:
0.180 error: /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial: import read failed(2).
------
Dockerfile:27
--------------------
25 | # https://forums.centos.org/viewtopic.php?f=54&t=72574, and
26 | # https://access.redhat.com/solutions/3720351
27 | >>> RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
28 | RUN dnf install -y rpm-build rpmlint dnf-plugins-core
29 | RUN dnf config-manager --set-enabled crb
--------------------
ERROR: failed to solve: process "/bin/sh -c rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial" did not complete successfully: exit code: 1
make[1]: *** [Makefile:97: centos-10] Error 1
make[1]: Leaving directory '/home/ubuntu/workspace/docker-ce-packaging_PR-1104/rpm'
make: *** [Makefile:79: centos-10] Error 2
script returned exit code 2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker run --rm quay.io/centos/centos:stream10-development ls -l /etc/pki/rpm-gpg/
total 8
-rw-r--r-- 1 root root 2182 Sep 30 20:00 RPM-GPG-KEY-CentOS-SIG-Extras-SHA512
-rw-r--r-- 1 root root 1683 Sep 30 20:00 RPM-GPG-KEY-centosofficial-SHA256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more failure; looks like rpmlint
is no more for CentOS Stream 10 ("CS10");
e21ba0c
to
d130e47
Compare
I'll rebase this one and remove the mention of the removal of |
Use image "stream10-development" for now, after the release we should remove the "-development" suffix. Signed-off-by: Romain Geissler <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]>
d130e47
to
beae632
Compare
|
Use image "stream10-development" for now, after the release we should remove the "-development" suffix.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)