File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,15 @@ RUN apt update && \
139
139
xvfb && \
140
140
apt clean
141
141
142
+ # Install GitHub CLI
143
+ RUN (type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
144
+ && sudo mkdir -p -m 755 /etc/apt/keyrings \
145
+ && wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
146
+ && sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
147
+ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
148
+ && sudo apt update \
149
+ && sudo apt install gh -y
150
+
142
151
143
152
# Install Python packages
144
153
RUN pip3 install --no-cache-dir \
You can’t perform that action at this time.
0 commit comments