anchor.diff:  unzip \
   libfreetype6-dev \
   libtaoframework-freetype-cil-dev \
  -libxft-dev 
  -RUN mkdir /myapp
  -WORKDIR /myapp
  -ADD . /myapp 
  -#ToDo: fix secrets.py add with an if
  -ADD yara/yara.zip* /tmp/
  -#echo a is necessary so the line returns 0 in case the file already exists.
  -RUN bash -c "wget -nc https://github.com/plusvic/yara/archive/v3.4.0.zip -O /tmp/yara.zip; echo a"
  -RUN unzip /tmp/yara.zip -d /tmp && \
  +libxft-dev && \
  +bash -c "wget -nc https://github.com/plusvic/yara/archive/v3.4.0.zip -O /tmp/yara.zip; echo a"  && \
  +unzip /tmp/yara.zip -d /tmp && \
   pip install -r /myapp/src/pip_requirements.txt   && \
   pip install -r /myapp/src/pip_yargen_requirements.txt && \
   pip install -r /myapp/src/pip_vt_api_requirements.txt && \
  
positive.code: #ADD yara/yarGen-master.zip* /tmp/
  #RUN bash -c "wget -nc https://github.com/Neo23x0/yarGen/archive/master.zip -O /tmp/yarGen-master.zip; echo a"
  #RUN unzip /tmp/yarGen-master.zip -d  /tmp
  #RUN if [ $(ls /myapp/yara/yarGen-master/) ]; then echo "yarGen-master folder already exists"; else mv /tmp/yarGen-master/ /myapp/yara/; fi 
  # https://github.com/kennethreitz/requests/issues/3215
  ENV REQUESTS_CA_BUNDLE "/usr/local/lib/python2.7/site-packages/certifi/weak.pem"
  #RUN cd /myapp/yara && python ./
  
negative.code: FROM python:2.7
  RUN mkdir /myapp
  WORKDIR /myapp
  ADD . /myapp
  #ToDo: fix secrets.py add with an if
  ADD yara/yara.zip* /tmp/
  ADD yara/pestudio.zip* /tmp/
  RUN apt-get clean && apt-get -o Debug::pkgProblemResolver=true -o Debug::Acquire::http=true update -qq && apt-get -o Debug::pkgProblemResolver=true -o Debug::Acquire::http=true install -y build-essential \
  libpq-dev \
  python-hachoir-metadata \
  