File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments