Skip to content

Commit

Permalink
Base on fedora instead of fedora-minimal
Browse files Browse the repository at this point in the history
microdnf in the ppc64le fedora-minimal image currently doesn't know how
to expand $basearch in its yum repository configuration, so use "fedora"
as the base instead.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
  • Loading branch information
nalind committed Oct 27, 2023
1 parent a24799c commit 00dc8e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG FEDORARELEASE=38
FROM registry.fedoraproject.org/fedora-minimal:${FEDORARELEASE}
RUN microdnf -y distro-sync && microdnf -y install --setopt install_weak_deps=0 qemu-user-static /usr/bin/mount /usr/bin/chcon && microdnf clean all
FROM registry.fedoraproject.org/fedora:${FEDORARELEASE}
RUN dnf -y distro-sync && dnf -y install --setopt install_weak_deps=0 qemu-user-static /usr/bin/mount /usr/bin/chcon && dnf clean all
COPY LICENSE entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
ARG IMAGE=ghcr.io/nalind/fedora-qemu-user-static
Expand Down

0 comments on commit 00dc8e0

Please sign in to comment.