fix: Install sops from alpine testing repos
This commit is contained in:
parent
d941ea51e7
commit
7b370a8266
@ -12,13 +12,10 @@ RUN mkdir /out && for bin in `find /tmp | grep helm`; do cp $bin /out/; done
|
|||||||
RUN chmod +x /out/helm
|
RUN chmod +x /out/helm
|
||||||
RUN chmod +x /out/helmfile
|
RUN chmod +x /out/helmfile
|
||||||
|
|
||||||
FROM mozilla/sops:v3.7-alpine as sops
|
|
||||||
WORKDIR /out
|
|
||||||
RUN cp $(which sops) /out/sops
|
|
||||||
|
|
||||||
FROM ghcr.io/allanger/check-da-helm-base:${BASE_VERSION}
|
FROM ghcr.io/allanger/check-da-helm-base:${BASE_VERSION}
|
||||||
COPY --from=builder /out/ /usr/bin
|
COPY --from=builder /out/ /usr/bin
|
||||||
COPY --from=sops /out/ /usr/bin
|
RUN apk update --no-cache && apk add --no-cache jq bash age git &&\
|
||||||
RUN apk update --no-cache && apk add --no-cache jq bash age git
|
apk add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing sops
|
||||||
RUN helm plugin install https://github.com/jkroepke/helm-secrets --version v4.4.2
|
RUN helm plugin install https://github.com/jkroepke/helm-secrets --version v4.4.2
|
||||||
ENTRYPOINT ["cdh"]
|
ENTRYPOINT ["cdh"]
|
||||||
|
Reference in New Issue
Block a user