Skip to content

Commit

Permalink
chore: sops v3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nickspizzas committed Aug 8, 2024
1 parent 88124fa commit 60e2272
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
FROM alpine:3.18
LABEL maintainer="[email protected]"

ENV SOPS_VERSION=v3.9.0
ENV SPRUCE_VERSION=1.27.0

RUN apk --no-cache add bash
RUN apk --no-cache add --update curl wget ca-certificates
RUN apk --no-cache add jq yq age
RUN apk --no-cache add gnupg
RUN apk add sops --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/
RUN apk --no-cache add jq yq age gnupg

RUN curl -LO "https://github.com/getsops/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION}.linux.amd64" \
&& mv sops-${SOPS_VERSION}.linux.amd64 /usr/local/bin/sops \
&& chmod +x /usr/local/bin/sops

ENV SPRUCE_VERSION 1.27.0
RUN wget https://github.com/geofffranks/spruce/releases/download/v${SPRUCE_VERSION}/spruce-linux-amd64 \
&& chmod a+x spruce-linux-amd64 \
&& mv spruce-linux-amd64 /usr/local/bin/spruce

0 comments on commit 60e2272

Please sign in to comment.