Put build-essential back into dockerfile

This commit is contained in:
Paul Gauthier 2023-10-31 14:52:04 -07:00
parent 702fc0c6ea
commit c9aa36d7b6
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,11 @@
FROM python:3.10-slim
COPY . /aider
# Unfortunately to build the multi-arch docker image we need `build-essential` for amd64.
# Apparently py-tree-sitter-languages doesn't have a pre-built binary wheel?
RUN apt-get update && \
apt-get install --no-install-recommends -y git libportaudio2 && \
apt-get install --no-install-recommends -y build-essential git libportaudio2 && \
rm -rf /var/lib/apt/lists/* && \
pip install --no-cache-dir /aider && \
rm -rf /aider