Closed akdev1l closed 1 year ago
this also seems to affect the f38 image, maybe that file was there before but it's not there now.
this fixes the issue:
diff --git a/images/fedora/f37/Containerfile b/images/fedora/f37/Containerfile
index 2a9a001..a1c0f93 100644
--- a/images/fedora/f37/Containerfile
+++ b/images/fedora/f37/Containerfile
@@ -14,7 +14,6 @@ COPY README.md /
RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf
RUN dnf -y swap coreutils-single coreutils-full
RUN dnf -y swap glibc-minimal-langpack glibc-all-langpacks
-RUN rm /etc/rpm/macros.image-language.conf
COPY missing-docs /
RUN dnf -y reinstall $(<missing-docs)
diff --git a/images/fedora/f38/Containerfile b/images/fedora/f38/Containerfile
index 897500a..34264a6 100644
--- a/images/fedora/f38/Containerfile
+++ b/images/fedora/f38/Containerfile
@@ -14,7 +14,6 @@ COPY README.md /
RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf
RUN dnf -y swap coreutils-single coreutils-full
RUN dnf -y swap glibc-minimal-langpack glibc-all-langpacks
-RUN rm /etc/rpm/macros.image-language.conf
COPY missing-docs /
RUN dnf -y reinstall $(<missing-docs)
Thanks for pointing this out, @akdev1l I happened to notice it an hour ago when playing with the Containerfile:s, but hadn't noticed this issue yet.
This was fixed in commit 42dbd8e18261f427bfd5ca3f0b652194bfbbe593 which is part of https://github.com/containers/toolbox/pull/1225
We really should extend our CI to build images from the image definitions and use them, in addition to the images that are already out there on the registries.
Describe the bug
Fedora 37 image doesn't build
Steps how to reproduce the behaviour
git clone https://github.com/containers/toolbox.git
at commit825c7e8 .github/workflows: Remove golangci-lint
cd images/fedora/f37
podman build . --pull
Expected behaviour
The image should build successfully.
Actual behaviour
Podman package info (
rpm -q podman
)Info about your OS Fedora Silverblue 37 - don't think it matters because the container should build on any host with podman
Additional context
Seems introduced by:
Perhaps a change that should've only affected F38? Fedora 37 doesn't seem to know anything about that file we are trying to remove:
fwiw I tried fedora 38 and it doesn't recognize that file:
linked issue: https://github.com/containers/toolbox/issues/1136 suggest this was to install all languages in the container image but I don't see that file in the fedora images either: