diff --git a/.github/workflows/docker-build-test.yml b/.github/workflows/docker-build-test.yml index ad562f7af..37702d7d5 100644 --- a/.github/workflows/docker-build-test.yml +++ b/.github/workflows/docker-build-test.yml @@ -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: . diff --git a/docker/Dockerfile b/docker/Dockerfile index 903291fd7..10ae6c530 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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