mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
Merge branch 'main' of github.com:Aider-AI/aider
This commit is contained in:
commit
c21f7afdcb
2 changed files with 13 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -15,3 +15,4 @@ aider/_version.py
|
||||||
.venv/
|
.venv/
|
||||||
.#*
|
.#*
|
||||||
.gitattributes
|
.gitattributes
|
||||||
|
tmp.benchmarks/
|
|
@ -18,10 +18,18 @@ RUN apt-get update && apt-get install -y \
|
||||||
# Make python3.11 the default python3
|
# Make python3.11 the default python3
|
||||||
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
||||||
|
|
||||||
# Install Go
|
# Install Go with architecture detection
|
||||||
RUN curl -OL https://golang.org/dl/go1.21.5.linux-amd64.tar.gz && \
|
RUN ARCH=$(uname -m) && \
|
||||||
tar -C /usr/local -xzf go1.21.5.linux-amd64.tar.gz && \
|
if [ "$ARCH" = "x86_64" ]; then \
|
||||||
rm go1.21.5.linux-amd64.tar.gz
|
GOARCH="amd64"; \
|
||||||
|
elif [ "$ARCH" = "aarch64" ]; then \
|
||||||
|
GOARCH="arm64"; \
|
||||||
|
else \
|
||||||
|
false; \
|
||||||
|
fi && \
|
||||||
|
curl -L "https://golang.org/dl/go1.21.5.linux-$GOARCH.tar.gz" -o go.tar.gz && \
|
||||||
|
tar -C /usr/local -xzf go.tar.gz && \
|
||||||
|
rm go.tar.gz
|
||||||
ENV PATH="/usr/local/go/bin:${PATH}"
|
ENV PATH="/usr/local/go/bin:${PATH}"
|
||||||
|
|
||||||
# Install Rust
|
# Install Rust
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue