anchor.diff:  FROM mobylinux/debian-build-kernel:a009a11bf0ad
   
   ARG KERNEL_VERSION=4.4.20
  -ARG DEBUG=0
   
   ENV KERNEL_SOURCE=https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL_VERSION}.tar.xz
   
  
positive.code: 
  COPY kernel_config /linux/arch/x86/configs/x86_64_defconfig
  COPY kernel_config.debug /linux/debug_config
  
  RUN if [ $DEBUG -ne "0" ]; then \
      cat /linux/debug_config >> /linux/arch/x86/configs/x86_64_defconfig; \
  
negative.code: 
  # Build aufs tools, do this here as they need kernel headers and to match aufs
  # Fortunately they are built statically linked
  RUN cd /aufs-util && \
      CPPFLAGS="-I/tmp/kernel-headers/include" CFLAGS=$CPPFLAGS LDFLAGS=$CPPFLAGS make && \
      DESTDIR=/tmp/aufs-utils make install && \
      rm -rf /tmp/aufs-utils/usr/lib /tmp/aufs-utils/usr/share && \
  