-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88124fa
commit 60e2272
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |