Skip to content

Commit f8cd1c2

Browse files
authored
helm installation fix (#934)
There was some sort of outage, this is a more reliable way to install helm from their git helm/helm#31229
1 parent 9994ab3 commit f8cd1c2

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ ENV VIRTUAL_ENV=/app/venv
2323
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
2424

2525
# Needed for kubectl
26+
ENV VERIFY_CHECKSUM=true \
27+
VERIFY_SIGNATURES=true
2628
RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.32/deb/Release.key -o Release.key
2729

2830
# Set the architecture-specific kube lineage URLs
@@ -58,12 +60,7 @@ RUN chmod 777 argocd
5860
RUN ./argocd --help
5961

6062
# Install Helm
61-
RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor -o /usr/share/keyrings/helm.gpg \
62-
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" \
63-
| tee /etc/apt/sources.list.d/helm-stable-debian.list \
64-
&& apt-get update \
65-
&& apt-get install -y helm \
66-
&& rm -rf /var/lib/apt/lists/*
63+
RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
6764

6865
# Set up poetry
6966
ARG PRIVATE_PACKAGE_REGISTRY="none"
@@ -135,7 +132,7 @@ COPY --from=builder /app/argocd /usr/local/bin/argocd
135132
RUN argocd --help
136133

137134
# Set up Helm
138-
COPY --from=builder /usr/bin/helm /usr/local/bin/helm
135+
COPY --from=builder /usr/local/bin/helm /usr/local/bin/helm
139136
RUN chmod 555 /usr/local/bin/helm
140137
RUN helm version
141138

0 commit comments

Comments
 (0)