From 271cbeaa0fece124f202ad8d01d949b88522108a Mon Sep 17 00:00:00 2001 From: KonstantAnxiety <58992437+KonstantAnxiety@users.noreply.github.com> Date: Wed, 21 Feb 2024 17:39:59 +0300 Subject: [PATCH] BI-5255 Install gh cli in debian_docker image (#330) --- docker_build/debian_docker/scripts/200-tools.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docker_build/debian_docker/scripts/200-tools.sh diff --git a/docker_build/debian_docker/scripts/200-tools.sh b/docker_build/debian_docker/scripts/200-tools.sh new file mode 100644 index 000000000..6778cfebd --- /dev/null +++ b/docker_build/debian_docker/scripts/200-tools.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +set -eu +export DEBIAN_FRONTEND=noninteractive + +curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg +chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg +echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null + +apt update +apt install --yes \ + gh