mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
Put build-essential back into dockerfile
This commit is contained in:
parent
702fc0c6ea
commit
c9aa36d7b6
2 changed files with 6 additions and 2 deletions
2
.github/workflows/docker-build-test.yml
vendored
2
.github/workflows/docker-build-test.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
- name: Build Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue