diff --git a/projects/tpm2/Dockerfile b/projects/tpm2/Dockerfile new file mode 100644 index 000000000..93c6cb5b8 --- /dev/null +++ b/projects/tpm2/Dockerfile @@ -0,0 +1,11 @@ +# Copyright 2017 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +# +# Defines a docker image that can build fuzzers. +# +FROM ossfuzz/base-libfuzzer +RUN apt-get install -y make libssl-dev binutils libgcc-5-dev +RUN git clone --depth 1 https://chromium.googlesource.com/chromiumos/third_party/tpm2 +WORKDIR tpm2 +RUN cp /src/tpm2/fuzz/build.sh /src/ diff --git a/projects/tpm2/project.yaml b/projects/tpm2/project.yaml index d6894e548..6efd7d86e 100644 --- a/projects/tpm2/project.yaml +++ b/projects/tpm2/project.yaml @@ -1,7 +1,10 @@ homepage: "https://chromium.googlesource.com/chromiumos/third_party/tpm2" -dockerfile: - git: "https://chromium.googlesource.com/chromiumos/third_party/tpm2/" - path: "fuzz/Dockerfile" +# todo: delete Dockerfile from tpm2 repo. +# Docker files change too much, it was moved to oss-fuzz repository. +# +#dockerfile: +# git: "https://chromium.googlesource.com/chromiumos/third_party/tpm2/" +# path: "fuzz/Dockerfile" primary_contact: "ngm@google.com" auto_ccs: - "tpm-security-bugs@google.com"