Skip to content

Commit

Permalink
Workaround for SSL error with curl get.helm.sh in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Nov 12, 2024
1 parent ea23ebf commit 6274bc6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions runner.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN set -ex; \
); \
\
export DEBIAN_FRONTEND=noninteractive; \
runDeps='ca-certificates curl git jq unzip findutils patch xz-utils'; \
runDeps='ca-certificates curl git jq unzip findutils patch xz-utils gpg apt-transport-https'; \
buildDeps=''; \
apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends; \
\
Expand Down Expand Up @@ -43,7 +43,14 @@ COPY bin/y-kustomize /usr/local/src/ystack/bin/
RUN y-kustomize version

COPY bin/y-helm /usr/local/src/ystack/bin/
RUN y-helm version --client=true
# RUN y-helm version --client=true
RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list \
&& apt-get update \
&& apt-get install helm \
&& helm version --client=true \
&& ln -s $(which helm) /usr/local/src/ystack/bin/helm \
&& y-helm version --client=true

COPY bin/y-buildctl /usr/local/src/ystack/bin/
RUN y-buildctl --version
Expand Down

0 comments on commit 6274bc6

Please sign in to comment.