mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
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:
parent
98a6d383ab
commit
33cf55e5ae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue