From c687a7ec434aef8c56426d270fb85e7c6eb10edc Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Fri, 5 Aug 2016 14:35:26 -0700 Subject: [PATCH] [infra] runner image --- infra/base-images/Jenkinsfile | 5 ++++- infra/base-images/libfuzzer-runner/Dockerfile | 20 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 infra/base-images/libfuzzer-runner/Dockerfile diff --git a/infra/base-images/Jenkinsfile b/infra/base-images/Jenkinsfile index a6a3ae712..2b5953af0 100644 --- a/infra/base-images/Jenkinsfile +++ b/infra/base-images/Jenkinsfile @@ -29,4 +29,7 @@ node { stage name: 'Build ossfuzz/base-libfuzzer', concurrency: 1 sh "docker build $dockerOptions -t ossfuzz/base-libfuzzer infra/base-images/base-libfuzzer" - } + + stage name: 'Build ossfuzz/libfuzzer-runner', concurrency: 1 + sh "docker build $dockerOptions -t ossfuzz/libfuzzer-runner infra/base-images/libfuzzer-runner" +} diff --git a/infra/base-images/libfuzzer-runner/Dockerfile b/infra/base-images/libfuzzer-runner/Dockerfile new file mode 100644 index 000000000..b84f1a165 --- /dev/null +++ b/infra/base-images/libfuzzer-runner/Dockerfile @@ -0,0 +1,20 @@ +# Copyright 2016 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ + +FROM ossfuzz/base +MAINTAINER mike.aizatsky@gmail.com +RUN mkdir /out +VOLUME /out