Update debugger dockerfile.

This commit is contained in:
Kishore Nallan 2022-06-13 13:29:27 +05:30
parent a9a2d8cc11
commit bb44598ad1

View File

@ -1,9 +1,11 @@
FROM ubuntu:20.04
FROM typesense/typesense-development:29-DEC-2021-1
RUN apt-get update && apt-get -y install build-essential libc6-dbg
RUN apt-get install -y texinfo libc6-dbg
ADD http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.gz /opt/gdb-7.11.tar.gz
RUN tar -C /opt -xf /opt/gdb-7.11.tar.gz
RUN cd /opt/gdb-7.11 && ./configure && make -j8 && make install
ADD https://sourceware.org/pub/valgrind/valgrind-3.17.0.tar.bz2 /opt/valgrind-3.17.0.tar.bz2
RUN tar -C /opt -xf /opt/valgrind-3.17.0.tar.bz2
RUN cd /opt/valgrind-3.17.0 && ./configure --prefix=/usr && make -j8 && make install
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install gdb