anchor.diff:          libmemcached-dev \
           zlib1g-dev \
           python-dev \
  -        build-essential
  +        build-essential && \
  +    pip install pylibmc django-pylibmc pillow moviepy && \
  +    ulimit -n 30000
   
  -RUN pip install pylibmc django-pylibmc pillow moviepy
  -
  -RUN ulimit -n 30000
   
   EXPOSE 10001 12001 8000 8080 8082
  +
  +# TODO: do we want to download in dockerfile, and house the binary within container (by foxel)?:
  +#ENV SEAFILE_VERSION 7.0.5
  +#ENV SEAFILE_PATH "/opt/seafile/seafile-server-$SEAFILE_VERSION"
  +#
  +#RUN \
  +#    mkdir -p /seafile "${SEAFILE_PATH}" && \
  +#    wget --progress=dot:mega --no-check-certificate -O /tmp/seafile-server.tar.gz \
  +#        "https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz" && \
  +#    tar -xzf /tmp/seafile-server.tar.gz --strip-components=1 -C "${SEAFILE_PATH}" && \
  +#    sed -ie '/^daemon/d' "${SEAFILE_PATH}/runtime/seahub.conf" && \
  +#    rm /tmp/seafile-server.tar.gz \ &&
  +#    useradd -r -s /bin/false seafile && \
  +#    chown seafile:seafile /seafile "$SEAFILE_PATH"
  +
   
   # Baseimage init process
   ENTRYPOINT ["/sbin/my_init"]
  
positive.code: FROM phusion/baseimage:0.11
  
  MAINTAINER    Laur
  # https://manual.seafile.com/deploy/using_sqlite.html
  
  ENV DEBIAN_FRONTEND=noninteractive
  
  # Seafile dependencies and system configuration
  # - note ffmpeg, pillow, moviepy is for video thumbnails (https://github.com/haiwen/seafile-docs/blob/master/deploy/video_thumbnails.md)
  
negative.code:         netcat \
          crudini \
          ffmpeg \
          unattended-upgrades && \
      update-locale LANG=C.UTF-8
  
  # deps for pylibmc:
  RUN apt-get install --no-install-recommends -y \
  