fix: Install sops from alpine testing repos

This commit is contained in:
Nikolai Rodionov 2023-05-04 22:22:33 +02:00
parent d941ea51e7
commit 7b370a8266
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -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/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}
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
ENTRYPOINT ["cdh"]