Skip to content

Commit

Permalink
Put build-essential back into dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Oct 31, 2023
1 parent 702fc0c commit c9aa36d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand Down
6 changes: 5 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c9aa36d

Please sign in to comment.