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 4s
Build containers / dependent-images (php) (push) Successful in 1s
16 lines
696 B
Docker
16 lines
696 B
Docker
ARG TAG
|
|
FROM job79/fedora:${TAG}
|
|
USER root
|
|
|
|
RUN arch="$(arch)" \
|
|
sops_url="$(curl -s https://api.github.com/repos/getsops/sops/releases/latest | jq -r '.assets[] | select(.name | test("sops-.*.$arch.rpm$")) | .browser_download_url')" \
|
|
echo "$sops_url"
|
|
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
|
|
arch="$(arch)" \
|
|
sops_url="$(curl -s https://api.github.com/repos/getsops/sops/releases/latest | jq -r '.assets[] | select(.name | test("sops-.*.$arch.rpm$")) | .browser_download_url')" \
|
|
dnf -y --setopt=keepcache=1 install kubectl k9s openssl age "$sops_url" && \
|
|
curl -sL https://talos.dev/install | sh && \
|
|
curl -s https://fluxcd.io/install.sh | bash
|
|
|
|
USER user
|