From: Alexis Romero Date: Tue, 16 May 2023 16:59:06 +0000 (+0200) Subject: set apt mirror for cifuzz base builder image X-Git-Tag: rec-4.9.0-beta1~11^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12833%2Fhead;p=thirdparty%2Fpdns.git set apt mirror for cifuzz base builder image --- diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index c93ed0ef87..2dbd3a3422 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -8,6 +8,11 @@ jobs: Fuzzing: runs-on: ubuntu-20.04 steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 5 + submodules: recursive + - run: docker build -t gcr.io/oss-fuzz-base/base-builder:latest -f Dockerfile-cifuzz . - name: Build Fuzzers uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master with: diff --git a/Dockerfile-cifuzz b/Dockerfile-cifuzz new file mode 100644 index 0000000000..61036bbdca --- /dev/null +++ b/Dockerfile-cifuzz @@ -0,0 +1,5 @@ +FROM gcr.io/oss-fuzz-base/base-builder:latest + +RUN sed -i 's/[a-z]*\.ubuntu\.com/mirror\.leaseweb\.net/' /etc/apt/sources.list +RUN apt-get update +