From 33cf55e5aed29af75e732bbf343a20a82522ba96 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 22 Oct 2023 11:22:18 -0700 Subject: [PATCH] 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. --- benchmark/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/Dockerfile b/benchmark/Dockerfile index 78705d000..9e3303953 100644 --- a/benchmark/Dockerfile +++ b/benchmark/Dockerfile @@ -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