Skip to content

Commit

Permalink
[DDS-1844] Added gh cli tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Jan 17, 2024
1 parent a8c598a commit c7f3901
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion images/awx-ee/execution-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,12 @@ additional_build_steps:
- RUN curl -L https://github.com/google/yamlfmt/releases/download/v0.10.0/yamlfmt_0.10.0_Linux_x86_64.tar.gz --output /tmp/yamlfmt_0.10.0_Linux_x86_64.tar.gz
- RUN tar -C /tmp -xvf /tmp/yamlfmt_0.10.0_Linux_x86_64.tar.gz
- RUN chmod +x /tmp/yamlfmt
- RUN mv /tmp/yamlfmt /usr/local/bin
- RUN mv /tmp/yamlfmt /usr/local/bin
- | # Install GitHub gh cli tool
SHELL ["/bin/bash", "-c"]
RUN set -eux; \
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
&& sudo 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" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y

0 comments on commit c7f3901

Please sign in to comment.