feat: Add helm binary (required for helm package action)
This commit is contained in:
parent
739047e477
commit
c32a19ab36
@ -13,6 +13,10 @@ ADD https://${REPO_USERNAME}:${REPO_PASSWORD}@sn.itch.fyi/Repository/bin/VMware/
|
|||||||
RUN apk --update add --no-cache \
|
RUN apk --update add --no-cache \
|
||||||
curl \
|
curl \
|
||||||
jq && \
|
jq && \
|
||||||
|
curl -L https://api.github.com/repos/helm/helm/releases/latest | \
|
||||||
|
jq -r '.tag_name' | \
|
||||||
|
xargs -I {} curl -L -o /tmp/helm.tar.gz https://get.helm.sh/helm-{}-linux-amd64.tar.gz && \
|
||||||
|
tar -xzf /tmp/helm.tar.gz --strip-components=1 -C /tmp && \
|
||||||
curl -L https://api.github.com/repos/mikefarah/yq/releases/latest | \
|
curl -L https://api.github.com/repos/mikefarah/yq/releases/latest | \
|
||||||
jq -r '.assets[] | select(.name | endswith("yq_linux_amd64")) | .browser_download_url' | \
|
jq -r '.assets[] | select(.name | endswith("yq_linux_amd64")) | .browser_download_url' | \
|
||||||
xargs -I {} curl -L -o /tmp/yq {} && \
|
xargs -I {} curl -L -o /tmp/yq {} && \
|
||||||
@ -24,6 +28,7 @@ COPY --from=packer /bin/packer /bin/packer
|
|||||||
COPY --from=terraform /bin/terraform /bin/terraform
|
COPY --from=terraform /bin/terraform /bin/terraform
|
||||||
COPY --from=download /tmp/ovftool-installer /tmp/ovftool-installer
|
COPY --from=download /tmp/ovftool-installer /tmp/ovftool-installer
|
||||||
COPY --from=download /tmp/yq /bin/yq
|
COPY --from=download /tmp/yq /bin/yq
|
||||||
|
COPY --from=download /tmp/helm /usr/bin/helm
|
||||||
|
|
||||||
ENV LANG en_US.UTF-8
|
ENV LANG en_US.UTF-8
|
||||||
ENV LANGUAGE en_US:en
|
ENV LANGUAGE en_US:en
|
||||||
|
Loading…
Reference in New Issue
Block a user