Added libportaudio2 to the docker container

This commit is contained in:
Paul Gauthier 2023-10-18 13:38:41 -07:00
parent 49b9034629
commit b2b78a98ee
2 changed files with 3 additions and 6 deletions

View file

@ -1,7 +1,7 @@
FROM python:3.10-slim
COPY . /aider
RUN apt-get update && \
apt-get install --no-install-recommends -y git universal-ctags && \
apt-get install --no-install-recommends -y git universal-ctags libportaudio2 && \
rm -rf /var/lib/apt/lists/* && \
pip install --no-cache-dir /aider && \
rm -rf /aider

View file

@ -28,8 +28,5 @@ git config user.name "Your Name"
## Limitations
- When you use the in-chat `/run` command, it will
be running shell commands *inside the docker container*.
So those commands won't be running in your local environment,
which may make it tricky to `/run` tests, etc for your project.
- The `/voice` command won't work.
- When you use the in-chat `/run` command, it will be running shell commands *inside the docker container*. So those commands won't be running in your local environment, which may make it tricky to `/run` tests, etc for your project.
- The `/voice` command won't work unless you can figure out how to give the docker container access to your host audio device. The container has libportaudio2 installed, so it should work if you can do that.