nobodys.watching
03/07/2025, 2:46 AMAnswer Overflow
03/07/2025, 2:46 AMgmpinder
03/07/2025, 3:37 AMdnf5 in the repositoriesgmpinder
03/07/2025, 3:37 AM[02:47:00 g.i/n/rocky-testing:latest] => > [rocky-testing 9/15] RUN dnf install -y dnf5:
[02:47:00 g.i/n/rocky-testing:latest] => 1.405 Copr repo for dnf-nightly owned by rpmsoftwarem 370 kB/s | 389 kB 00:01
[02:47:00 g.i/n/rocky-testing:latest] => 2.203 Extra Packages for Enterprise Linux 9 - x86_64 33 MB/s | 23 MB 00:00
[02:47:00 g.i/n/rocky-testing:latest] => 7.353 Extra Packages for Enterprise Linux 9 openh264 4.9 kB/s | 2.5 kB 00:00
[02:47:00 g.i/n/rocky-testing:latest] => 8.248 Rocky Linux 9 - BaseOS 5.1 kB/s | 4.1 kB 00:00
[02:47:00 g.i/n/rocky-testing:latest] => 8.518 Rocky Linux 9 - AppStream 18 kB/s | 4.5 kB 00:00
[02:47:00 g.i/n/rocky-testing:latest] => 9.886 Rocky Linux 9 - CRB 1.9 MB/s | 2.6 MB 00:01
[02:47:00 g.i/n/rocky-testing:latest] => 11.47 No match for argument: dnf5
[02:47:00 g.i/n/rocky-testing:latest] => 11.48 Error: Unable to find a match: dnf5gmpinder
03/07/2025, 3:41 AMgmpinder
03/07/2025, 3:42 AMnobodys.watching
03/07/2025, 3:42 AMnobodys.watching
03/07/2025, 3:42 AMsource: ghcr.io/blue-build/modules/dnf:dnf-module-gmpinder and that worked!!gmpinder
03/07/2025, 3:42 AMgmpinder
03/07/2025, 3:43 AMdnf-modulegmpinder
03/07/2025, 3:43 AMnobodys.watching
03/07/2025, 3:43 AMnobodys.watching
03/07/2025, 3:44 AMnobodys.watching
03/07/2025, 3:58 AMnobodys.watching
03/07/2025, 7:03 AMnobodys.watching
03/07/2025, 7:05 AMnobodys.watching
03/07/2025, 7:07 AMfiftydinar
03/07/2025, 11:54 AMpackages: in install section for latest module
yaml
install:
packages:
- podman-compose
- etc-etc-packagesnobodys.watching
03/07/2025, 5:30 PMyaml
type: dnf
source: ghcr.io/blue-build/modules/dnf:dnf-module
install:
repo: https://pkgs.tailscale.com/stable/centos/10/tailscale.repo # Can specify the repo for packages to install
packages:
- tailscalenobodys.watching
03/07/2025, 5:31 PMnobodys.watching
03/07/2025, 5:42 PMyaml
---
type: dnf
source: ghcr.io/blue-build/modules/dnf:dnf-module
group-install:
packages:
- Server With GUInobodys.watching
03/07/2025, 5:43 PMfiftydinar
03/07/2025, 5:43 PMid, which is tailscale-stable in this case (you can see it in repo file enclosed in`[ ]`). Which means that repo needs to be already present.
yaml
type: dnf
source: ghcr.io/blue-build/modules/dnf:dnf-module
repos:
files:
- https://pkgs.tailscale.com/stable/centos/10/tailscale.repo
install:
packages:
- repo: tailscale-stable
packages:
- tailscale
You can omit - repo, as tailscale likely won't be in repo other than tailscale-stable. It won't automatically download repo like rpm-ostree does, it only tells from where package should be pulled from to get it installed, hence why repo URL needs to be provided for download before install operation.fiftydinar
03/07/2025, 5:44 PMnobodys.watching
03/07/2025, 5:49 PMnobodys.watching
03/07/2025, 5:59 PMfiftydinar
03/07/2025, 6:02 PMdnf handles this repo or repo is bad somehownobodys.watching
03/07/2025, 6:15 PMnobodys.watching
03/07/2025, 6:32 PMnobodys.watching
03/08/2025, 12:18 AMnobodys.watching
03/08/2025, 12:18 AMnobodys.watching
03/08/2025, 12:24 AMnobodys.watching
03/08/2025, 12:25 AMyaml
---
type: dnf
source: ghcr.io/blue-build/modules/dnf:dnf-module
group-install:
packages:
- "Server With GUI"
or
yaml
---
type: dnf
source: ghcr.io/blue-build/modules/dnf:dnf-module
group-install:
packages:
- Server With GUI
are workingnobodys.watching
03/08/2025, 12:26 AMyaml
---
type: dnf
source: ghcr.io/blue-build/modules/dnf:dnf-module-gmpinder
group-install:
packages:
- Server With GUI
is definitely workingnobodys.watching
03/08/2025, 12:43 AMnobodys.watching
03/08/2025, 1:09 AMyaml
---
type: containerfile
snippets:
- RUN dnf config-manager --add-repo https://pkgs.tailscale.com/stable/centos/10/tailscale.repo
- RUN dnf config-manager --set-disabled "tailscale-stable"
# FIXME: tailscale EPEL10 request: https://bugzilla.redhat.com/show_bug.cgi?id=2349099
- RUN dnf -y --enablerepo "tailscale-stable" install tailscale
Does work! However, this does not:
yaml
---
type: dnf
source: ghcr.io/blue-build/modules/dnf:dnf-module
repos:
files:
- https://pkgs.tailscale.com/stable/centos/10/tailscale.repo
install:
packages:
- tailscalenobodys.watching
03/08/2025, 1:11 AM