From 73fdec2314046473eac2dc838cea7df4f5d16ca2 Mon Sep 17 00:00:00 2001 From: Nikhil Gohil Date: Fri, 19 Dec 2025 19:39:43 -0800 Subject: [PATCH] feat: add sops and age binaries to core and periphery images --- bin/core/debian-deps.sh | 8 +++++++- bin/periphery/debian-deps.sh | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/bin/core/debian-deps.sh b/bin/core/debian-deps.sh index 8eb371e59..f4f10d4fa 100644 --- a/bin/core/debian-deps.sh +++ b/bin/core/debian-deps.sh @@ -3,7 +3,13 @@ ## Core deps installer apt-get update -apt-get install -y git curl ca-certificates iproute2 +apt-get install -y git curl ca-certificates iproute2 age + +# Sops only available as a binary +SOPS_VERSION="v3.11.0" +ARCH=$(dpkg --print-architecture) +curl -L "https://github.com/getsops/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION}.linux.${ARCH}" -o /usr/local/bin/sops +chmod +x /usr/local/bin/sops rm -rf /var/lib/apt/lists/* diff --git a/bin/periphery/debian-deps.sh b/bin/periphery/debian-deps.sh index 363a5f53c..1aa5a1393 100644 --- a/bin/periphery/debian-deps.sh +++ b/bin/periphery/debian-deps.sh @@ -3,7 +3,7 @@ ## Periphery deps installer apt-get update -apt-get install -y git curl wget ca-certificates +apt-get install -y git curl wget ca-certificates age install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc @@ -19,6 +19,12 @@ apt-get update # apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin apt-get install -y docker-ce-cli docker-buildx-plugin docker-compose-plugin +# Sops only available as a binary +SOPS_VERSION="v3.11.0" +ARCH=$(dpkg --print-architecture) +curl -L "https://github.com/getsops/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION}.linux.${ARCH}" -o /usr/local/bin/sops +chmod +x /usr/local/bin/sops + rm -rf /var/lib/apt/lists/* # Starship prompt