xref: /freebsd/contrib/libfido2/fuzz/Dockerfile (revision 6ba2210ee039f2f12878c217bcf058e9c8b26b29)
1# Copyright (c) 2019 Yubico AB. All rights reserved.
2# Use of this source code is governed by a BSD-style
3# license that can be found in the LICENSE file.
4
5FROM ubuntu:focal
6ENV DEBIAN_FRONTEND=noninteractive
7RUN apt-get update
8RUN apt-get install -y clang-11 cmake git libssl-dev libudev-dev make pkg-config
9RUN apt-get install -y zlib1g-dev
10RUN git clone --branch v0.8.0 https://github.com/PJK/libcbor
11RUN git clone https://github.com/yubico/libfido2
12RUN CC=clang-11 CXX=clang++-11 /libfido2/fuzz/build-coverage /libcbor /libfido2
13