fix: infra container
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
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
This commit is contained in:
@@ -2,8 +2,14 @@ ARG TAG
|
|||||||
FROM job79/fedora:${TAG}
|
FROM job79/fedora:${TAG}
|
||||||
USER root
|
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 "$arch $sops_url"
|
||||||
|
|
||||||
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
|
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
|
||||||
dnf -y --setopt=keepcache=1 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')" && \
|
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 -sL https://talos.dev/install | sh && \
|
||||||
curl -s https://fluxcd.io/install.sh | bash
|
curl -s https://fluxcd.io/install.sh | bash
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user