From 8250db08a4961ff1e4457060792671b193341d33 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 31 Aug 2021 14:12:52 +0200 Subject: [PATCH] tor: Use default focal image (#6356) --- projects/tor/Dockerfile | 6 +----- projects/tor/build.sh | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/projects/tor/Dockerfile b/projects/tor/Dockerfile index 8c9615115..3211c40be 100644 --- a/projects/tor/Dockerfile +++ b/projects/tor/Dockerfile @@ -14,11 +14,7 @@ # ############################################################################## -# Using Ubuntu 16.04 because of breakage on Ubuntu 20.04. -# See https://github.com/google/oss-fuzz/issues/6291 for more details. -FROM gcr.io/oss-fuzz-base/base-builder:xenial -# Delete line above and uncomment line below to upgrade to 20.04. -# FROM gcr.io/oss-fuzz-base/base-builder +FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y autoconf automake make libtool pkg-config RUN git clone --depth 1 https://git.torproject.org/tor.git RUN git clone --depth 1 https://git.torproject.org/fuzzing-corpora.git tor-fuzz-corpora diff --git a/projects/tor/build.sh b/projects/tor/build.sh index 3574a1ba7..8f4d029bc 100644 --- a/projects/tor/build.sh +++ b/projects/tor/build.sh @@ -67,6 +67,7 @@ export ASAN_OPTIONS=detect_leaks=0 LDFLAGS="-L${TOR_DEPS}/lib64" make clean +make micro-revision.i # Workaround from https://gitlab.torproject.org/tpo/core/tor/-/issues/29520#note_2749427 make -j$(nproc) oss-fuzz-fuzzers TORLIBS="`make show-testing-libs`"