HUB
Sign inSign up
rtags logo

adamwg/rtags

By adamwg

•Updated over 9 years ago

A container for https://github.com/andersbakken/rtags.

Image
0

395

adamwg/rtags repository overview

rtags is a clang-based code indexer for C and C++. This container contains rtags as well as BEAR for generating compilation databases. It has rtags configured to listen on TCP port 12345 so you can connect to it from the host with the rc client, or run rc in the container with docker exec.

⁠Usage

The container's behavior is controlled by two environment variables:

  • MAKE_COMPDB_CMD is the command used to generate your compilation database.
  • PROJECT_PATH is the path to your project. You should mount your project into the container at the same path where it lives on your system so that rtags will produce the right paths when queried from a local editor (e.g., emacs).

You'll also need to install any build dependencies for your project into the container. You can do this either by making MAKE_COMPDB_CMD a script that installs dependencies before building, or by building a new image based on this one containing the dependencies. I prefer the second approach.

Tag summary

Content type

Image

Digest

Size

379.9 MB

Last updated

over 9 years ago

docker pull adamwg/rtags:v2.12