anchor.diff:  ENV HOME /home/testbot
   
   # configure ports that will be exposed
  -EXPOSE 6633
  +EXPOSE 80
   
   # use aarnet mirror for quicker building while developing
   RUN sed -i 's/archive.ubuntu.com/mirror.aarnet.edu.au\/pub\/ubuntu\/archive/g' /etc/apt/sources.list
  
positive.code: RUN chown testbot:testbot /srv/testbot
  WORKDIR /srv/testbot
  
  # run as testbot
  USER testbot
  RUN wget https://github.com/rtc-io/rtc-testbot/archive/$APP_SHA.tar.gz -O app.tar.gz
  
negative.code: # include gstreamer
  RUN add-apt-repository -y ppa:gstreamer-developers/ppa
  
  # include nginx
  RUN add-apt-repository -y ppa:nginx/stable
  
  # update sources
  RUN apt-get -y update --fix-missing
  
  # install packages
  RUN apt-get install -y nodejs nginx git xvfb build-essential git xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic
  
  # TODO: configure video loopback
  # RUN /tmp/setup-loopbackvideo.sh
  