Skip to content

Commit c484ae4

Browse files
committed
Fix helm-secrets installation in docker image
1 parent 7dd76de commit c484ae4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Dockerfile

+3-6
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,12 @@ USER ops
6868
ENV HOME=/home/ops
6969
WORKDIR /home/ops
7070

71+
USER root
7172
RUN helm plugin install https://github.com/databus23/helm-diff
73+
RUN helm plugin install https://github.com/jkroepke/helm-secrets --version v3.8.2
74+
RUN helm plugin install https://github.com/rimusz/helm-tiller
7275

7376

74-
75-
USER root
76-
RUN HELM_HOME=/home/ops/.helm helm plugin install https://github.com/futuresimple/helm-secrets
77-
RUN HELM_HOME=/home/ops/.helm helm plugin install https://github.com/rimusz/helm-tiller
78-
RUN chown -R ops:ops /home/ops/.helm
79-
8077
COPY --from=compile-image /azure-cli /home/ops/.local/azure-cli
8178
COPY build_scripts/bin/az /home/ops/bin/
8279

0 commit comments

Comments
 (0)