Skip to content

Commit 0f6b322

Browse files
Use Fedora-41-based base image (packit#2488)
Use Fedora-41-based base image Related to packit/deployment#613. Merge after packit/deployment#622. Reviewed-by: Laura Barcziová
2 parents 9322222 + 51e5639 commit 0f6b322

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pip3 install packit from this repo.
22

3-
FROM quay.io/packit/base:c9s
3+
FROM quay.io/packit/base:fedora
44

55
WORKDIR /src
66

Containerfile.tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Packit (test) dependencies.
22
# To run tests locally via 'make check-in-container'.
33

4-
FROM quay.io/packit/base:c9s
4+
FROM quay.io/packit/base:fedora
55

66
COPY files/tasks/*.yaml /files/tasks/
77
COPY files/*.yaml /files/

files/tasks/rpm-test-deps.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
- python3-gitlab
1010
- python3-pygithub
1111
- python3-distro
12-
- rpmautospec-rpm-macros
1312
state: present
1413
become: true
1514

@@ -25,6 +24,14 @@
2524
when: ansible_facts['distribution'] == 'Fedora'
2625
become: true
2726

27+
- name: (EPEL) Install dependencies as RPMs
28+
ansible.builtin.dnf:
29+
name:
30+
- rpmautospec-rpm-macros
31+
state: present
32+
when: ansible_facts['distribution'] != 'Fedora'
33+
become: true
34+
2835
# packages not in epel, install from PyPI
2936
- name: (EPEL) Install dependencies from PyPI
3037
ansible.builtin.pip:

0 commit comments

Comments
 (0)