summaryrefslogtreecommitdiff
path: root/fuzz/Dockerfile
blob: f9152f8c467e2e268ecf63841d6a7022b634353f (plain)
1
2
3
4
5
6
7
8
9
10
11
# Copyright (c) 2019 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y clang-10 cmake git libssl-dev libudev-dev make pkg-config
RUN git clone --branch v0.7.0 https://github.com/PJK/libcbor
RUN git clone https://github.com/yubico/libfido2
RUN CC=clang-10 CXX=clang++-10 /libfido2/fuzz/build-coverage /libcbor /libfido2