Skip to content

Commit

Permalink
Added github CLI install to Dockefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jwgerlach00 committed Oct 16, 2023
1 parent 38b27c0 commit 9882980
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
FROM ubuntu:latest

# Update the package list and install dependencies
RUN apt update && apt install -y python3 python3-pip git
RUN apt update && apt install -y python3 python3-pip git curl gpg

# Install github CLI
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --dearmor -o /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 update && apt install -y gh

RUN git clone https://github.com/csc510-team5/GITS2.1-I.R.I.S.git /app
RUN ln -s /app/code /root/code # necessary for gits list
Expand Down

0 comments on commit 9882980

Please sign in to comment.