anchor.diff:   ## Enable CORS in Apache
    && echo 'Header set Access-Control-Allow-Origin "*"' > /etc/httpd/conf.d/cors.conf \
    && yum -y history undo last \
  - && yum clean all
  + && rm -rf /var/cache/yum 
   
   # install the source code and config files
   COPY dockerfiles/framework/scale/entryPoint.sh /opt/scale/
  
positive.code:  && pip install -r /tmp/production.txt \
   && curl -o /usr/bin/gosu -fsSL ${GOSU_URL} \
   && chmod +sx /usr/bin/gosu \
   # Strip out extra apache files
   && rm -f /etc/httpd/conf.d/*.conf \
   && rm -rf /usr/share/httpd \
   && sed -i 's^User apache^User scale^g' /etc/httpd/conf/httpd.conf \
   # Patch access logs to show originating IP instead of reverse proxy.
   && sed -i 's!LogFormat "%h!LogFormat "%{X-Forwarded-For}i %h!g' /etc/httpd/conf/httpd.conf \
  
negative.code:  && tar xvf /tmp/ui/deploy/scale-ui-master.tar.gz \
   && if [ $BUILD_DOCS -eq 1 ]; then pip install -r /tmp/docs.txt; make -C /opt/scale/docs code_docs html; pip uninstall -y -r /tmp/docs.txt; fi \
   && yum -y history undo last \
   && rm -rf /var/cache/yum \
   && rm -fr /tmp/*
  
  WORKDIR /opt/scale
  