diff --git a/Dockerfile b/Dockerfile index 595bb30..bc38926 100644 --- a/Dockerfile +++ b/Dockerfile @@ -112,9 +112,6 @@ run locale-gen # expand libc sources run cd /usr/src/glibc ; tar xvf glibc-*.tar.xz -# build cgdb (the version shipped with ubuntu is too old) -copy cgdb-0.7.0.tar.gz /externals/ -run cd /externals/ && tar -xvzf cgdb-0.7.0.tar.gz && cd cgdb-0.7.0 && ./configure && make -j$(nproc) && make install # setup ssh RUN mkdir /var/run/sshd && echo 'root:root' | chpasswd && \ @@ -229,3 +226,23 @@ RUN \ && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y ######################## + +# build rtags +run \ +git clone --recursive https://github.com/Andersbakken/rtags.git && \ +cd rtags && \ +git submodule update && \ +git checkout v2.38 && \ +cmake . -DCMAKE_EXPORT_COMPILE_COMMANDS=1 . && \ +make -j$(nproc) install && \ +cd .. && \ +rm -rf rtags + +# build cgdb (the version shipped with ubuntu is too old) +run \ +git clone https://github.com/cgdb/cgdb.git && \ +cd cgdb && \ +git checkout v0.7.1 && \ +./autogen.sh && \ +./configure && make -j$(nproc) && \ +make install \ No newline at end of file diff --git a/cgdb-0.7.0.tar.gz b/cgdb-0.7.0.tar.gz deleted file mode 100644 index 5953721..0000000 Binary files a/cgdb-0.7.0.tar.gz and /dev/null differ diff --git a/rtags.zip b/rtags.zip deleted file mode 100644 index ee3517d..0000000 Binary files a/rtags.zip and /dev/null differ