Skip to content

Commit d263d23

Browse files
committed
Tries without the helm workaround to avoid the apt-get update issue
E: The repository 'https://baltocdn.com/helm/stable/debian all Release' does not have a Release file.
1 parent 72be7ac commit d263d23

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

runner.Dockerfile

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,10 @@ RUN set -ex; \
1010
\
1111
export DEBIAN_FRONTEND=noninteractive; \
1212
runDeps='ca-certificates curl git jq unzip findutils patch xz-utils'; \
13-
buildDeps='gpg apt-transport-https'; \
14-
apt-get update -o APT::Update::Error-Mode=any; \
15-
apt-get install -y $runDeps $buildDeps --no-install-recommends; \
13+
buildDeps=''; \
14+
apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends; \
1615
\
17-
echo "workaround for y-helm failing in github actions due to get.helm.sh SSL error"; \
18-
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null; \
19-
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; \
20-
apt-get update && apt-get install -y helm --no-install-recommends; \
21-
apt_helm_version=$(/usr/bin/helm version --template '{{.Version}}'); \
22-
mkdir -p /usr/local/src/ystack/bin && cp -av /usr/bin/helm /usr/local/src/ystack/bin/y-helm-${apt_helm_version}-bin; \
23-
ln -s /usr/local/src/ystack/bin/y-helm-${apt_helm_version}-bin /usr/local/src/ystack/bin/helm; \
24-
\
25-
apt-get purge -y --auto-remove $buildDeps helm; \
16+
echo disabled: apt-get purge -y --auto-remove $buildDeps; \
2617
rm -rf /var/lib/apt/lists/*; \
2718
rm -rf /var/log/dpkg.log /var/log/alternatives.log /var/log/apt /root/.gnupg
2819

0 commit comments

Comments
 (0)