-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Fedora 41 among images we test against (#3172)
- Loading branch information
Showing
7 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# A Fedora 41 image tailored for tmt test suite | ||
# | ||
# tmt/tests/fedora/41:latest | ||
# | ||
|
||
FROM quay.io/fedora/fedora:41 | ||
|
||
# Populate dnf cache | ||
RUN dnf makecache \ | ||
# Inject `dnf5` to make things more complicated for `dnf` family of | ||
# package manager implementations | ||
&& dnf install -y dnf5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# A Fedora 41 image tailored for tmt test suite, with unprivileged account & password-less sudo | ||
# | ||
# tmt/tests/fedora/41/unprivileged:latest | ||
# | ||
|
||
FROM quay.io/fedora/fedora:41 | ||
|
||
# Populate dnf cache | ||
RUN dnf makecache \ | ||
# Create unprivileged user and setup sudo for it | ||
&& dnf install -y /usr/sbin/useradd \ | ||
&& useradd fedora \ | ||
&& usermod -aG wheel fedora \ | ||
&& echo -e 'fedora\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers | ||
|
||
USER fedora |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
# A Fedora 41 image tailored for tmt test suite | ||
# | ||
# tmt/tests/fedora/41/upstream:latest | ||
# | ||
|
||
FROM quay.io/fedora/fedora:41 | ||
|
||
# Populate dnf cache | ||
RUN dnf makecache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters