mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Add installation of GitHub CLI in Dockerfile
This commit is contained in:
parent
db8b756a74
commit
f520f29f11
6
.github/runners/runner-x64/Dockerfile
vendored
6
.github/runners/runner-x64/Dockerfile
vendored
@ -15,6 +15,12 @@ RUN apt install -y --no-install-recommends \
|
|||||||
# Rust and Cargo dependencies
|
# Rust and Cargo dependencies
|
||||||
gcc cmake
|
gcc cmake
|
||||||
|
|
||||||
|
# Install GitHub CLI
|
||||||
|
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 \
|
||||||
|
&& 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 update -y && apt install -y gh \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install Rust and Cargo
|
# Install Rust and Cargo
|
||||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user