Skip to content

Commit

Permalink
BI-5255 Install gh cli in debian_docker image (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantAnxiety authored Feb 21, 2024
1 parent 3fbde84 commit 271cbea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker_build/debian_docker/scripts/200-tools.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 271cbea

Please sign in to comment.