anchor.diff:  ADD res/ /opt/jfinal-weixin/res/
   ADD src/ /opt/jfinal-weixin/src/
   ADD webapp/ /opt/jfinal-weixin/webapp/
  -ADD ssh/ /opt/ssh-script/
   ADD pom.xml /opt/jfinal-weixin/pom.xml
   
   #build war
  
positive.code: 
  #set debug mode
  ENV MAVEN_OPTS "-Xms128m -Xmx512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8088,server=y,suspend=n"
  
  
  # Install OpenSSH
  RUN apt-get install -y openssh-server
  # Set password
  ADD sshRootPd.txt .
  RUN mkdir /var/run/sshd && \
    echo "root:`cat sshRootPd.txt`" | chpasswd && \
    # Allow root login with password
    sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
    # Prevent user being kicked off after login
    sed -i 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' /etc/pam.d/sshd && \
    # Clean up
    rm sshRootPd.txt
  
  # configure the container to run weixn
  ENTRYPOINT /opt/ssh-script/run.sh
  
negative.code: # based on https://github.com/JackFish/java-mvn-ssh
  FROM index.alauda.cn/jackzhou/java-mvn-ssh
  
  MAINTAINER jack "askfish@gmail.com"
  
  # Make ssh dir
  RUN mkdir /opt/jfinal-weixin/
  