mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-10 03:30:59 +00:00
chore: add gh cli to image
This commit is contained in:
parent
1bcb4323e6
commit
21cca3572e
1 changed files with 9 additions and 1 deletions
10
fabro.toml
10
fabro.toml
|
|
@ -14,7 +14,7 @@ auto_stop_interval = 30
|
|||
repo = "fabro-sh/fabro"
|
||||
|
||||
[sandbox.daytona.snapshot]
|
||||
name = "fabro-v3"
|
||||
name = "fabro-v4"
|
||||
cpu = 4
|
||||
memory = 8
|
||||
disk = 20
|
||||
|
|
@ -25,6 +25,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
curl git ca-certificates build-essential pkg-config libssl-dev unzip python3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# GitHub CLI
|
||||
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
|
||||
| dd of=/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-get update && apt-get install -y --no-install-recommends gh \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Rust
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue