mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24: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 }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
FROM python:3.10-slim
|
FROM python:3.10-slim
|
||||||
COPY . /aider
|
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 && \
|
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/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
pip install --no-cache-dir /aider && \
|
pip install --no-cache-dir /aider && \
|
||||||
rm -rf /aider
|
rm -rf /aider
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue