Commit Graph

15 Commits

Author SHA1 Message Date
Eugene Kliuchnikov 097419a27b [brotli] Split compile and link actions (#1554)
Source code have to be compiled by CC, but linked with CXX.

Context: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8976
2018-06-22 06:49:30 -07:00
Eugene Kliuchnikov 37f1a33f2c Switch compiler CXX->CC (#1544) 2018-06-20 08:01:52 -07:00
Eugene Kliuchnikov 92b7d40f84 Update brotli build script (#1528)
Brotli fuzzer is being converted to C99 in google/brotli#686
2018-06-18 07:22:10 -07:00
Eugene Kliuchnikov 84d20d9ac9 Update build script (#860) 2017-09-25 17:29:46 -07:00
Devin Jeanpierre 330386686d Use apt-get update && apt-get install, per best practices: (#561)
https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/

I ran into this because I was getting errors locally, like:

    E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/libdpkg-perl_1.18.4ubuntu1.1_all.deb  404  Not Found [IP: 91.189.88.149 80]

It turns out you get these if you don't update, and the official best practices are to `run apt-get update && apt-get install`. In fact, running _any_ apt-get install command without the apt-get update && before it can result in unfortunate caching artifacts -- see "cache busting". (P.S. thanks to Peng on Freenode for helping me, I'm bad at Ubuntu.)

So:
    sed -re \
        's/RUN apt-get ((-y )?(install|build-dep))/RUN apt-get update \&\& apt-get \1/' -i \
        projects/**/Dockerfile

I also manually fixed the cases that already ran apt-get update in their Dockerfile:
    dlplibs/Dockerfile
    grpc/Dockerfile
    libreoffice/Dockerfile
2017-05-01 23:31:02 -07:00
Oliver Chang bab0e6c54d Update build.sh 2017-04-24 14:59:36 -07:00
Oliver Chang 66b816f23d Update build.sh 2017-04-24 14:29:04 -07:00
Abhishek Arya b436a195bd Remove experimental flag from already tested projects with msan(#473) (#513) 2017-04-04 16:47:33 -07:00
Oliver Chang 60835ac420 oss-fuzz/BASE_IMAGE -> oss-fuzz-base/BASE_IMAGE 2017-03-22 12:12:51 -07:00
Oliver Chang a086ab3f03 Enable Msan experimentally for some projects (#473). 2017-03-21 15:09:10 -07:00
Oliver Chang 7df64d4ac4 [infra] ossfuzz/IMAGE -> gcr.io/oss-fuzz/IMAGE 2017-03-15 18:46:31 -07:00
Abhishek Arya efb4314494 Fix brotli seed corpus path 2017-03-02 09:19:34 -08:00
Mike Aizatsky e6a8c4d6cd [infra] updating usages of base-libfuzzer (#142) 2017-01-03 15:07:49 -08:00
Mike Aizatsky 881dc1167d [brotli] remove executable bit from archive 2016-12-08 13:45:14 -08:00
Eugene Kliuchnikov f85e64b57a Add brotli fuzzer (#143)
* Add brotli fuzzer

* Add brotli fuzzer

* Move fuzzer code to brotli repository
2016-12-08 06:41:39 -08:00