anchor.diff:    F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23
    
   ENV TOMCAT_MAJOR 7
  -ENV TOMCAT_VERSION 7.0.61
  +ENV TOMCAT_VERSION 7.0.63
   ENV TOMCAT_TGZ_URL https://www.apache.org/dist/tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz
    
   RUN set -x \
  
positive.code: RUN set -x \
      && export DEBIAN_FRONTEND=noninteractive \
      && apt-get update \
      && apt-get install -y mysql-server openjdk-7-jre-headless nginx-full git curl \
      && apt-get clean \
      && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
   
  #### ohmage dirs ####
  ENV OHMAGE_DATA /var/lib/ohmage
  
negative.code:     && tar -xvf flyway.tar.gz --strip-components=1 \
      && rm flyway.tar.gz
   
  #### download ohmage migrations ####
  ENV OHMAGE_PKGS_URL https://web.ohmage.org/ohmage/packages/latest
   
  WORKDIR $OHMAGE_DATA/flyway/sql
  RUN cp /app.war "$CATALINA_HOME"/webapps/app.war
  RUN curl -fSL "$OHMAGE_PKGS_URL"/server/migrations.tar.gz -o migrations.tar.gz \
      && tar -xvf migrations.tar.gz \
      && rm migrations.tar.gz
  