dockerfile

from daocloud.io/library/ubuntu:latest
env timedate 2017-05-24
add jdk-8u131-linux-x64.tar.gz /home/
add apache-maven-3.3.9-bin.tar.gz /home/
add apache-tomcat-8.5.15.tar.gz /home/
run apt-get update
run apt-get install nginx -y


env JAVA_HOME /home/jdk1.8.0_131
env MAVEN_HOME /home/apache-maven-3.3.9
env PATH $PATH:$JAVA_HOME/bin:$JAVA_HOME/db/bin:$JAVA_HOME/jre/bin:$MAVEN_HOME/bin


cmd java -jar nontax_history_api-1.0.jar

你可能感兴趣的:(docker)