test
Some checks failed
Build containers / changes (push) Successful in 2s
Build containers / base-image (push) Has been skipped
Build containers / dependent-images (go) (push) Successful in 1s
Build containers / dependent-images (infra) (push) Failing after 23s

This commit is contained in:
Job
2025-12-29 11:48:35 +01:00
parent 678b8bee6e
commit 2ee0ccbca1
3 changed files with 4 additions and 8 deletions

View File

@@ -10,8 +10,7 @@ RUN dnf update -y && \
# === setup user ===
RUN useradd -ms /bin/bash user && \
echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers && \
mkdir -p /run/user/1000 && chown user:user /run/user/1000
echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers
USER user
WORKDIR /home/user

View File

@@ -1,11 +1,10 @@
ARG TAG
FROM job79/fedora:${TAG}
FROM quay.io/fedora/fedora:43
USER root
RUN dnf -y install kubectl k9s openssl age "$(curl -s https://api.github.com/repos/getsops/sops/releases/latest | jq -r '.assets[] | select(.name | test("sops-.*.x86_64.rpm$")) | .browser_download_url')" && \
RUN dnf -y install kubectl k9s openssl age && \
dnf clean all && \
curl -sL https://talos.dev/install | sh && \
curl -s https://fluxcd.io/install.sh | bash && \
chmod 755 /run
curl -s https://fluxcd.io/install.sh | bash
USER user