diff --git a/docker/Dockerfile b/docker/Dockerfile index c2889f319..6ecbb889a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 diff --git a/docs/docker.md b/docs/docker.md index 4ad8d8e3b..a06f1b773 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -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. \ No newline at end of file +- 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.