Commit c23e076 1 parent 24aea79 commit c23e076 Copy full SHA for c23e076
File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ ARG TARGETARCH
7
7
ADD https://get.helm.sh/helm-v${HELM_VERSION}-linux-${TARGETARCH}.tar.gz /tmp/tarballs/
8
8
RUN tar zxvf /tmp/tarballs/*.tar.gz -C /usr/local/bin/ --strip-components=1 linux-${TARGETARCH}/helm
9
9
10
+ # sops: encrypting secrets
11
+ FROM ubuntu:22.04 as sops
12
+ ARG SOPS_VERSION=3.8.1
13
+ ARG ARCH=amd64
14
+ ADD --chmod=755 https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.$ARCH /usr/local/bin/sops
15
+
10
16
FROM node:16-bullseye-slim
11
17
12
18
# We need to set a home directory, since both Helm and NPM won't be able to write to /.
@@ -15,6 +21,7 @@ ENV HOME=/tmp/argocd-cdk8s-plugin/
15
21
RUN mkdir $HOME && chmod 770 $HOME
16
22
RUN apt-get update && apt-get install git tree ca-certificates -y --no-install-recommends && rm -rf /var/lib/apt/lists/*
17
23
COPY --from=helm /usr/local/bin/ /usr/local/bin/
24
+ COPY --from=sops /usr/local/bin/ /usr/local/bin/
18
25
COPY plugin.yaml /home/argocd/cmp-server/config/plugin.yaml
19
26
COPY scripts/* /
20
27
You can’t perform that action at this time.
0 commit comments