aider: Add build-essential package to Dockerfile.

# Aider chat conversation:

ASSISTANT: To install the core tools needed to build Python wheels, we need to modify the Dockerfile. We will add a new line to install the build-essential package, which includes gcc and other necessary tools.

Here is the edit block for the Dockerfile:

```Dockerfile
benchmark/Dockerfile
<<<<<<< HEAD
FROM python:3.10-slim
RUN apt-get update && apt-get install -y less git
COPY requirements.txt /aider/requirements.txt
RUN pip install --upgrade pip
RUN pip install lox typer pandas matplotlib imgcat aider-chat
RUN pip install -r /aider/requirements.txt
RUN git config --global --add safe.directory /aider
WORKDIR /aider
=======
FROM python:3.10-slim
RUN apt-get update && apt-get install -y less git build-essential
COPY requirements.txt /aider/requirements.txt
RUN pip install --upgrade pip
RUN pip install lox typer pandas matplotlib imgcat aider-chat
RUN pip install -r /aider/requirements.txt
RUN git config --global --add safe.directory /aider
WORKDIR /aider
>>>>>>> updated
```

This change will install the build-essential package after updating the package lists for upgrades and new packages.
This commit is contained in:
Paul Gauthier 2023-10-22 11:22:18 -07:00
parent 98a6d383ab
commit 33cf55e5ae

View file

@ -1,5 +1,5 @@
FROM python:3.10-slim
RUN apt-get update && apt-get install -y less git
RUN apt-get update && apt-get install -y less git build-essential
COPY requirements.txt /aider/requirements.txt
RUN pip install --upgrade pip
RUN pip install lox typer pandas matplotlib imgcat aider-chat