mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 19:24:59 +00:00
refactor: Use ADD to fetch rustup installer in Dockerfile
This commit is contained in:
parent
b9c14e1d65
commit
81f55820be
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ RUN curl -OL https://golang.org/dl/go1.21.5.linux-amd64.tar.gz && \
|
||||||
ENV PATH="/usr/local/go/bin:${PATH}"
|
ENV PATH="/usr/local/go/bin:${PATH}"
|
||||||
|
|
||||||
# Install Rust
|
# Install Rust
|
||||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
ADD https://sh.rustup.rs /tmp/rustup.sh
|
||||||
|
RUN chmod +x /tmp/rustup.sh && /tmp/rustup.sh -y && rm /tmp/rustup.sh
|
||||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||||
|
|
||||||
COPY . /aider
|
COPY . /aider
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue