anchor.diff:  WORKDIR $CATALINA_HOME
   
   EXPOSE 8080
  -#EXPOSE 81
  -#EXPOSE 15555
   COPY docker-entrypoint.py /entrypoint.py
   CMD ["python", "/entrypoint.py"]
   ENV LANG C.UTF-8
  
positive.code: 
  
  ENV MAVEN_HOME /usr/share/maven
  ENV MAVEN_TGZ_URL https://www.apache.org/dist/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
  
  RUN mkdir /tmp2 && cd /tmp2 \
    && curl -sSL $MAVEN_TGZ_URL | tar xzf - -C /usr/share \
    && mv /usr/share/apache-maven-3.3.3 /usr/share/maven \
    && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn \
    && curl -sSL https://github.com/wendal/nutz-book-project/archive/master.tar.gz | tar xzf - -C /tmp2 \
    && cd /tmp2 && ls -l  && cd nutz-book-project-master \
    && mvn clean package \
    && mkdir -p /usr/local/tomcat/webapps/ROOT \
    && cp -r target/nutzbook-2.9.0/* /usr/local/tomcat/webapps/ROOT/ \
    && find /usr/local/tomcat/webapps/ROOT/ \
    && cd / \
    && rm -fr /tmp2 usr/share/maven /usr/bin/mvn ~/.m2
  
negative.code: ENV PATH $CATALINA_HOME/bin:$PATH
  RUN mkdir -p "$CATALINA_HOME"
  ENV TOMCAT_MAJOR 8
  ENV TOMCAT_VERSION 8.5.5
  ENV TOMCAT_TGZ_URL https://www.apache.org/dist/tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz
  ENV DEBIAN_FRONTEND noninteractive
  
  