Skip to content

Commit

Permalink
Fix installation of gh
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophShyper committed Feb 12, 2023
1 parent 762e382 commit 9ff24b9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,18 @@ SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
RUN chmod +x /entrypoint.sh ;\
apt-get update -y ;\
apt-get install --no-install-recommends -y \
curl \
gpg-agent \
software-properties-common ;\
add-apt-repository ppa:git-core/ppa ;\
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-get update -y ;\
apt-get install --no-install-recommends -y \
git \
gh \
hub \
github-cli \
jq ;\
apt-get clean ;\
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 9ff24b9

Please sign in to comment.