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

[master] Add CentOS Stream 10. #1104

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

thaJeztah
Copy link
Member

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)

@thaJeztah thaJeztah self-assigned this Nov 13, 2024
@thaJeztah thaJeztah changed the title Add CentOS Stream 10. [master] Add CentOS Stream 10. Nov 13, 2024
Comment on lines 23 to 29
# 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
Copy link
Member Author

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

Copy link
Member Author

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

Copy link
Member Author

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");

@thaJeztah
Copy link
Member Author

I'll rebase this one and remove the mention of the removal of rpmlint now I moved that separate to #1105 (as it's note really specific to CentOS 10)

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]>
@thaJeztah thaJeztah merged commit 7aff935 into docker:master Nov 13, 2024
8 checks passed
@thaJeztah thaJeztah deleted the carry_centos_10 branch November 13, 2024 17:15
@thaJeztah
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants