diff options
author | 2021-08-31 14:12:52 +0200 | |
---|---|---|
committer | 2021-08-31 13:12:52 +0100 | |
commit | 8250db08a4961ff1e4457060792671b193341d33 (patch) | |
tree | 36398275142942b84de2bac755cee23ab3df8848 | |
parent | 2f433a1f54352f22523a9a5098919daffc7d881b (diff) |
tor: Use default focal image (#6356)
-rw-r--r-- | projects/tor/Dockerfile | 6 | ||||
-rw-r--r-- | projects/tor/build.sh | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/projects/tor/Dockerfile b/projects/tor/Dockerfile index 8c961511..3211c40b 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 3574a1ba..8f4d029b 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`" |