mirror of https://github.com/google/oss-fuzz.git
Install gdb 12 from source (#7842)
* Install gdb12 from source * nit: remove tar file * nit * Separate GDB installation and purge libs * Pass -y to purge * use remove --purge
This commit is contained in:
parent
bdfa1ef3d2
commit
3ad57541c1
|
@ -15,4 +15,11 @@
|
|||
################################################################################
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-runner
|
||||
RUN apt-get update && apt-get install -y gdb valgrind zip
|
||||
RUN apt-get update && apt-get install -y valgrind zip
|
||||
|
||||
# Installing GDB 12, re https://github.com/google/oss-fuzz/issues/7513.
|
||||
RUN apt-get install -y build-essential libgmp-dev && \
|
||||
wget https://ftp.gnu.org/gnu/gdb/gdb-12.1.tar.xz && \
|
||||
tar -xf gdb-12.1.tar.xz && cd gdb-12.1 && ./configure && \
|
||||
make && make install && cd .. && rm -rf gdb-12.1* && \
|
||||
apt-get remove --purge -y build-essential libgmp-dev
|
||||
|
|
Loading…
Reference in New Issue