anchor.diff:      echo "  cxx    = ${CXX}"                >> /root/.buckconfig && \
       echo "  cxxpp  = ${CXX}"                >> /root/.buckconfig && \
       echo "  ld     = ${CXX}"                >> /root/.buckconfig && \
  -    echo "cxxflags = -std=c++14 -O3 -g -fno-omit-frame-pointer" >> /root/.buckconfig && \
  +    echo "  cxxflags = -std=c++14 ${CXXFLAGS}" >> /root/.buckconfig && \
       echo "[cxx#gcc]" >> /root/.buckconfig && \
       echo "  cc     = /usr/bin/gcc-5"        >> /root/.buckconfig && \
       echo "  cpp    = /usr/bin/gcc-5"        >> /root/.buckconfig && \
  
positive.code: # Download and install watchman, build with g++5 tools
  RUN git clone --depth 1 --branch ${WATCHMAN_VER} https://github.com/facebook/watchman.git /usr/src/watchman && \
      cd /usr/src/watchman && \
      ./autogen.sh && \
      ./configure && \
      make && \
  
negative.code: ARG BUCK_SHA=82edf0bdbe63ef99cff17114458d4bd442a55fd7 
  ARG WATCHMAN_VER=v4.3.0
  ARG DEBIAN_FRONTEND=noninteractive
  
  # Accept the oracle java license
  RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
  