File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -588,6 +588,32 @@ cd -
588588rm -rf "${TEMP_DIR}"
589589EOF
590590
591+ # # herdr
592+ # See release page for details https://github.com/ogulcancelik/herdr/releases/tag/v0.7.3
593+ RUN <<'EOF'
594+ set -euf -o pipefail
595+
596+ case "$TARGETARCH" in
597+ amd64)
598+ HERDR_ARCH="x86_64"
599+ ;;
600+ arm64)
601+ HERDR_ARCH="aarch64"
602+ ;;
603+ *)
604+ echo "Skipping herdr install for unsupported architecture: $TARGETARCH"
605+ exit 0
606+ ;;
607+ esac
608+
609+ HERDR_VERSION="0.7.3"
610+ HERDR_BIN="herdr-linux-${HERDR_ARCH}"
611+ HERDR_URL="https://github.com/ogulcancelik/herdr/releases/download/v${HERDR_VERSION}/${HERDR_BIN}"
612+
613+ curl -fsSL "${HERDR_URL}" -o /usr/local/bin/herdr
614+ chmod +x /usr/local/bin/herdr
615+ EOF
616+
591617RUN <<EOF
592618oc completion bash > /usr/share/bash-completion/completions/oc
593619tkn completion bash > /usr/share/bash-completion/completions/tkn
Original file line number Diff line number Diff line change @@ -555,6 +555,32 @@ cd -
555555rm -rf "${TEMP_DIR}"
556556EOF
557557
558+ # # herdr
559+ # See release page for details https://github.com/ogulcancelik/herdr/releases/tag/v0.7.3
560+ RUN <<'EOF'
561+ set -euf -o pipefail
562+
563+ case "$TARGETARCH" in
564+ amd64)
565+ HERDR_ARCH="x86_64"
566+ ;;
567+ arm64)
568+ HERDR_ARCH="aarch64"
569+ ;;
570+ *)
571+ echo "Skipping herdr install for unsupported architecture: $TARGETARCH"
572+ exit 0
573+ ;;
574+ esac
575+
576+ HERDR_VERSION="0.7.3"
577+ HERDR_BIN="herdr-linux-${HERDR_ARCH}"
578+ HERDR_URL="https://github.com/ogulcancelik/herdr/releases/download/v${HERDR_VERSION}/${HERDR_BIN}"
579+
580+ curl -fsSL "${HERDR_URL}" -o /usr/local/bin/herdr
581+ chmod +x /usr/local/bin/herdr
582+ EOF
583+
558584RUN <<EOF
559585oc completion bash > /usr/share/bash-completion/completions/oc
560586tkn completion bash > /usr/share/bash-completion/completions/tkn
You can’t perform that action at this time.
0 commit comments