Home | History | Annotate | Line # | Download | only in fuzz
      1 # Copyright (c) 2019-2023 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 # SPDX-License-Identifier: BSD-2-Clause
      5 
      6 FROM alpine:latest
      7 ENV CC=clang
      8 ENV CXX=clang++
      9 RUN apk -q update
     10 RUN apk add build-base clang clang-analyzer cmake compiler-rt coreutils
     11 RUN apk add eudev-dev git linux-headers llvm openssl-dev pcsc-lite-dev
     12 RUN apk add sudo tar zlib-dev
     13 RUN git clone --branch v0.12.0 --depth=1 https://github.com/PJK/libcbor
     14 RUN git clone --depth=1 https://github.com/yubico/libfido2
     15 WORKDIR /libfido2
     16 RUN ./fuzz/build-coverage /libcbor /libfido2
     17