xref: /freebsd/contrib/libfido2/fuzz/Dockerfile (revision bdd1243d)
1# Copyright (c) 2019-2021 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-12 cmake git libssl-dev libudev-dev make pkg-config
9RUN apt-get install -y zlib1g-dev
10RUN git clone --branch v0.9.0 https://github.com/PJK/libcbor
11RUN git clone https://github.com/yubico/libfido2
12RUN CC=clang-12 CXX=clang++-12 /libfido2/fuzz/build-coverage /libcbor /libfido2
13