Added universal ctags to the docker image

This commit is contained in:
Paul Gauthier 2023-10-18 13:30:19 -07:00
parent 790f7ddee3
commit 49b9034629
4 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,7 @@
- Added support for `.aiderignore` file, which instructs aider to ignore parts of the git repo. - Added support for `.aiderignore` file, which instructs aider to ignore parts of the git repo.
- `/run` and `/git` now accept full shell commands, like: `/run (cd subdir; ls)` - `/run` and `/git` now accept full shell commands, like: `/run (cd subdir; ls)`
- New `--commit` cmd line arg, which just commits all pending changes with a sensible commit message geneated by gpt-3.5. - New `--commit` cmd line arg, which just commits all pending changes with a sensible commit message geneated by gpt-3.5.
- Added universal ctags to the [aider docker image](https://aider.chat/docs/docker.html)
### v0.14.2 ### v0.14.2

View file

@ -1,7 +1,7 @@
FROM python:3.10-slim FROM python:3.10-slim
COPY . /aider COPY . /aider
RUN apt-get update && \ RUN apt-get update && \
apt-get install --no-install-recommends -y git && \ apt-get install --no-install-recommends -y git universal-ctags && \
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

View file

@ -5,7 +5,7 @@ You can run aider via docker without doing any local installation, like this:
``` ```
docker pull paulgauthier/aider docker pull paulgauthier/aider
docker run -it --volume `pwd`:/app paulgauthier/aider --openai-api-key $OPENAI_API_KEY [...other aider args...] docker run -it --volume $(pwd):/app paulgauthier/aider --openai-api-key $OPENAI_API_KEY [...other aider args...]
``` ```
You should run the above commands from the root of your git repo, You should run the above commands from the root of your git repo,

View file