Skip to content

Commit

Permalink
Add install GH cli
Browse files Browse the repository at this point in the history
  • Loading branch information
sieniven committed Dec 20, 2023
1 parent 64b988b commit 5d6cf52
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ain-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ RUN wget --progress=dot:giga -O - "https://apt.llvm.org/llvm.sh" | bash -s ${CLA
# hadolint ignore=DL4001
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
--default-toolchain="${RUST_DEFAULT_VERSION}" -y

RUN 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
RUN 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
RUN apt-get update \
&& apt-get install -y gh

0 comments on commit 5d6cf52

Please sign in to comment.