anchor.diff:  USER root
   
   RUN chown -R zap:zap /zap/* && \
  -	chown -R zap:zap /zap/webswing/webswing.config && \
  -	chown -R zap:zap /zap/webswing/webswing.properties && \
  +	# chown -R zap:zap /zap/webswing/webswing.config && \
  +	# chown -R zap:zap /zap/webswing/webswing.properties && \
   	chown -R zap:zap /home/zap/.ZAP/ && \
   	chmod 777 -R /zap && \
       chmod 777 -R /home/zap/.ZAP/
  
positive.code: 	cp -R ZAP*/* . &&  \
  	rm -R ZAP* && \
  	# Setup Webswing
  	if [ -z "$WEBSWING_TOKEN" ] ; \
  	then curl -s -L  "https://storage.googleapis.com/builds.webswing.org/releases/webswing-20.2.1.zip" > webswing.zip; \
  	else curl -s -L  "https://dev.webswing.org/${WEBSWING_TOKEN}/nexus/repository/Webswing-Public/webswing-agpl-dist/webswing-20.2.1-distribution.zip" > webswing.zip; fi && \
  	unzip webswing.zip && \
  	rm webswing.zip && \
  	mv webswing-* webswing && \
  	# Remove Webswing bundled examples
  	rm -Rf webswing/apps/
  
  ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/
  ENV PATH $JAVA_HOME/bin:/zap/:$PATH
  
negative.code: ENV LANG=C.UTF-8
  
  COPY zap* CHANGELOG.md /zap/
  # COPY webswing.config /zap/webswing/
  # COPY webswing.properties /zap/webswing/
  COPY policies /home/zap/.ZAP/policies/
  COPY policies /root/.ZAP/policies/
  # The scan script loads the scripts from dev home dir.
  