anchor.diff:          linux-headers \
           bash \
           libpcap-dev \
  -    && git clone -b develop --single-branch --recursive https://github.com/byllyfish/oftr.git \
  +    && git clone --depth=1 -b develop --single-branch --recursive https://github.com/byllyfish/oftr.git \
       && mkdir oftr/Build \
       && cd oftr/Build \
       && cmake .. \
  -    && make \
  -    && make test \
  -    && make install/strip \
  +    && CTEST_OUTPUT_ON_FAILURE=1 make all test install/strip \
       && apk del .build-deps \
       && rm -rf /oftr
   
  
positive.code: FROM alpine:3.3
  
  # Usage:
  #
  
negative.code: #
  #   docker run -it byllyfish/oftr oftr version
  #
  #   docker run -v msgs.pcap:/msgs.pcap byllyfish/oftr oftr decode /msgs.pcap
  #
  
  MAINTAINER William W. Fisher "william.w.fisher@gmail.com"
  
  # oftr needs libgcc, libstdc++, and libpcap.
  
  RUN apk add --no-cache libgcc libstdc++ libpcap
  
  # Set up build dependencies, then build and install oftr. Clean up when we
  # are done.
  