Skip to content

Commit c024dbc

Browse files
committed
tests/containers: switch to standard base image
In 'rpms.in.yaml' file, we configured the rpm lockfile CLI tool to extract installed packages from the main Dockerfile which use the standard base image of Fedora. For consistency, we have to rbase all the container images of the project on the same image. Otherwise, we may end up with missing packages during the build (i.e tzdata is available in standard image, but not in minimal one, making the targetcli fail as tzdata was not add to the lock YAML file).
1 parent fb71d1d commit c024dbc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/containers/nfs/Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.fedoraproject.org/fedora-minimal:42
1+
FROM registry.fedoraproject.org/fedora:42
22

33
RUN dnf -y install /usr/bin/ps nfs-utils && dnf clean all && rm -rf /var/cache/yum
44

tests/containers/tang/Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.fedoraproject.org/fedora-minimal:42
1+
FROM registry.fedoraproject.org/fedora:42
22

33
RUN dnf -y install systemd tang && dnf clean all && rm -rf /var/cache/yum
44
EXPOSE 80

tests/containers/targetcli/Containerfile

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

33
RUN dnf install -y targetcli kmod && dnf clean all
44
RUN systemctl enable target

0 commit comments

Comments
 (0)