anchor.diff:   && cd /tmp/xmlrpc-c/stable && ./configure && make -j ${NB_CORES} && make install \
    && cd /tmp/libtorrent && ./autogen.sh && ./configure && make -j ${NB_CORES} && make install \
    && cd /tmp/rtorrent && ./autogen.sh && ./configure --with-xmlrpc-c && make -j ${NB_CORES} && make install \
  + && cd /tmp \
  + && wget -q http://mediaarea.net/download/binary/mediainfo/${MEDIAINFO_VER}/MediaInfo_CLI_${MEDIAINFO_VER}_GNU_FromSource.tar.gz \
  + && wget -q http://mediaarea.net/download/binary/libmediainfo0/${MEDIAINFO_VER}/MediaInfo_DLL_${MEDIAINFO_VER}_GNU_FromSource.tar.gz \
  + && tar xzf MediaInfo_DLL_${MEDIAINFO_VER}_GNU_FromSource.tar.gz \
  + && tar xzf MediaInfo_CLI_${MEDIAINFO_VER}_GNU_FromSource.tar.gz \
  + && cd /tmp/MediaInfo_DLL_GNU_FromSource && ./SO_Compile.sh \
  + && cd /tmp/MediaInfo_DLL_GNU_FromSource/ZenLib/Project/GNU/Library && make install \
  + && cd /tmp/MediaInfo_DLL_GNU_FromSource/MediaInfoLib/Project/GNU/Library && make install \
  + && cd /tmp/MediaInfo_CLI_GNU_FromSource && ./CLI_Compile.sh \
  + && cd /tmp/MediaInfo_CLI_GNU_FromSource/MediaInfo/Project/GNU/CLI && make install \
    && strip -s /usr/local/bin/rtorrent \
    && strip -s /usr/local/bin/mktorrent \
  + && strip -s /usr/local/bin/mediainfo \
    && mkdir /filebot && cd /filebot \
    && wget -q http://sourceforge.mirrorservice.org/f/fi/filebot/filebot/FileBot_${FILEBOT_VER}/FileBot_${FILEBOT_VER}-portable.tar.xz \
    && tar xJf FileBot_${FILEBOT_VER}-portable.tar.xz && rm FileBot_${FILEBOT_VER}-portable.tar.xz \
    && cd /usr && git clone https://github.com/jfurrow/flood && cd flood \
  - && npm install \
  + && npm install --production \
    && apk del ${BUILD_DEPS} \
    && rm -rf /var/cache/apk/* /tmp/*
   
  
positive.code: COPY config.js /usr/flood/
  COPY rtorrent.rc /home/torrent/.rtorrent.rc
  
  RUN chmod +x /usr/bin/* /etc/s6.d/*/* /etc/s6.d/.s6-svscan/* \
   && cd /usr/flood && ./node_modules/.bin/gulp dist
  
  VOLUME /data /usr/flood/server/db
  
  
negative.code:     xz \
      subversion \
      cppunit-dev \
      libressl-dev \
      ncurses-dev \
      curl-dev \
      binutils" \
  