mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
feat: Add Go installation to Dockerfile
This commit is contained in:
parent
5c55453a0e
commit
b9c14e1d65
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,12 @@ RUN apt-get update && apt-get install -y \
|
|||
# Make python3.11 the default python3
|
||||
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
||||
|
||||
# Install Go
|
||||
RUN curl -OL https://golang.org/dl/go1.21.5.linux-amd64.tar.gz && \
|
||||
tar -C /usr/local -xzf go1.21.5.linux-amd64.tar.gz && \
|
||||
rm go1.21.5.linux-amd64.tar.gz
|
||||
ENV PATH="/usr/local/go/bin:${PATH}"
|
||||
|
||||
# Install Rust
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue