diff options
Diffstat (limited to 'fuzz/Dockerfile')
-rw-r--r-- | fuzz/Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fuzz/Dockerfile b/fuzz/Dockerfile new file mode 100644 index 0000000..68afd99 --- /dev/null +++ b/fuzz/Dockerfile | |||
@@ -0,0 +1,10 @@ | |||
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 | |||
5 | FROM ubuntu:bionic | ||
6 | RUN apt-get update | ||
7 | RUN apt-get install -y clang-9 cmake git libssl-dev libudev-dev make pkg-config | ||
8 | RUN git clone --branch v0.5.0 https://github.com/PJK/libcbor | ||
9 | RUN git clone https://github.com/yubico/libfido2 | ||
10 | RUN CC=clang-9 /libfido2/fuzz/build-coverage /libcbor /libfido2 | ||