Skip to main content

max / alloy

Containerfile: use curl for tailscale.repo, dnf5 has no config-manager by default Fedora 41 ships dnf5; config-manager is a separate plugin package (dnf5-command(config-manager)) that isn't in the base image. Skip the plugin dance entirely — drop the repo file directly with curl. Small, obvious, no extra install layer.
Co-Authored-By
Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-04 15:40 UTC
Signed with PGP, not checked
Commit: e83b246c16b510b7653491ccda031051f79c9405
Parent: 8d0bca6
1 file changed, +4 insertions, -3 deletions
M Containerfile +4 -3
@@ -12,9 +12,10 @@
12 12 # =====================================================================
13 13 # Third-party repos
14 14 # =====================================================================
15 - # Tailscale is not in Fedora main; enable their yum repo.
16 - RUN dnf install -y dnf-plugins-core && \
17 - dnf config-manager --add-repo https://pkgs.tailscale.com/stable/fedora/tailscale.repo
15 + # Tailscale is not in Fedora main; drop their .repo file directly
16 + # rather than pulling dnf5-plugins for a one-shot config-manager call.
17 + RUN curl -fsSL -o /etc/yum.repos.d/tailscale.repo \
18 + https://pkgs.tailscale.com/stable/fedora/tailscale.repo
18 19
19 20 # COPRs for packages not yet in Fedora main. Audit and prune as
20 21 # packages migrate upstream.