aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/libcoap/Dockerfile
diff options
context:
space:
mode:
authorGravatar Bhargava Shastry <bshas3@gmail.com>2018-06-08 18:03:50 +0200
committerGravatar Abhishek Arya <inferno@chromium.org>2018-06-08 09:03:50 -0700
commitd2c9d6fe391e89a60c9c8fab387db99ddc0ee280 (patch)
treee57030b04474262c65bbfca5691142269cde8fbd /projects/libcoap/Dockerfile
parentb9b558383a10167b0938f1f278300e8309469695 (diff)
libcoap: OSS-Fuzz integration (#1496)
* libcoap: OSS-Fuzz integration * libcoap: Addressed comments by @inferno-chromium
Diffstat (limited to 'projects/libcoap/Dockerfile')
-rw-r--r--projects/libcoap/Dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/projects/libcoap/Dockerfile b/projects/libcoap/Dockerfile
new file mode 100644
index 00000000..d57cba0d
--- /dev/null
+++ b/projects/libcoap/Dockerfile
@@ -0,0 +1,23 @@
+# Copyright 2018 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 gcr.io/oss-fuzz-base/base-builder
+MAINTAINER bergmann@tzi.org
+RUN apt-get update && apt-get install -y make autoconf automake libtool \
+ pkg-config
+RUN git clone --depth 1 https://github.com/obgm/libcoap.git libcoap
+WORKDIR libcoap
+COPY build.sh *_target.c $SRC/