From 2b14cbe441584c0b94bbe840882fd15b6b6c00f6 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Wed, 15 Mar 2017 10:53:43 -0700 Subject: [PATCH] [tpm2] moving Dockerfile in --- projects/tpm2/Dockerfile | 11 +++++++++++ projects/tpm2/project.yaml | 9 ++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 projects/tpm2/Dockerfile 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"