Skip to content

Commit e755d2c

Browse files
FaramosCZphracek
authored andcommitted
[enhancement] Rebase the base image to Fedora 42
Update the 'dnf --installroot' call for DNF 5
1 parent 4f68a4a commit e755d2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

2.4-micro/Dockerfile.fedora

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM quay.io/fedora/fedora:38 AS build
1+
FROM quay.io/fedora/fedora:42 AS build
22

33
RUN mkdir -p /mnt/rootfs
44
RUN MICRO_PKGS="coreutils-single glibc-minimal-langpack" && \
55
INSTALL_PKGS="${MICRO_PKGS} httpd-core mod_ssl findutils hostname nss_wrapper-libs fedora-logos-httpd" && \
6-
dnf install --installroot /mnt/rootfs ${INSTALL_PKGS} --releasever 38 --setopt install_weak_deps=false --nodocs -y && \
6+
dnf install --installroot /mnt/rootfs ${INSTALL_PKGS} --releasever 42 --use-host-config --setopt install_weak_deps=false --nodocs -y && \
77
dnf -y --installroot /mnt/rootfs clean all && \
88
rm -rf /mnt/rootfs/var/cache/* /mnt/rootfs/var/log/dnf* /mnt/rootfs/var/log/yum.*
99

2.4/Dockerfile.fedora

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/fedora/s2i-core:40
1+
FROM quay.io/fedora/s2i-core:42
22

33
# Apache HTTP Server image.
44
#

0 commit comments

Comments
 (0)