[root@t-docker tomcat 9 ]# docker build -t tomcat 9 . Sending build context to Docker daemon 719 MB Step 1 / 15 : FROM centos ---> 5182 e 96772 bf Step 2 / 15 : MAINTAINER chenzx ---> Running in d 04 f 35 bb 304 d Removing intermediate container d 04 f 35 bb 304 d ---> b 1535 d 029856 Step 3 / 15 : COPY c.txt /opt/container.txt ---> ef 3569 b 7 b 95 d Step 4 / 15 : ADD atlassian-confluence -6.11 . 0 .tar.gz /opt ---> 0 aed 885 f 1740 Step 5 / 15 : ADD jdk 1.8 . 0 _ 65 .tar.gz /opt ---> 56 ef 4 a 5 d 806 c Step 6 / 15 : RUN yum -y install vim ---> Running in 96 d 23 e 66 cbc 6 Loaded plugins: fastestmirror, ovl Determining fastest mirrors * base: mirrors.aliyun.com * extras: mirrors.aliyun.com Step 7 / 15 : ENV MYPATH /opt ---> Running in f 8 b 147007 a 67 Removing intermediate container f 8 b 147007 a 67 ---> 88 cd 40 f 1 df 40 Step 8 / 15 : WORKDIR $MYPATH ---> Running in 55 ba 5490990 a Removing intermediate container 55 ba 5490990 a ---> 2 bdeb 9172 d 40 Step 9 / 15 : ENV JAVA_HOME /opt/jdk 1.8 . 0 _ 65 ---> Running in e 5 edb 170 b 825 Removing intermediate container e 5 edb 170 b 825 ---> 2 b 315 b 03 c 617 Step 10 / 15 : ENV CLASSPATH $JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar ---> Running in a 3 c 6 d 7 e 8 a 539 Removing intermediate container a 3 c 6 d 7 e 8 a 539 ---> 5 a 49 c 2 cefc 2 a Step 11 / 15 : ENV CATALINA_HOME /opt/atlassian-confluence -6.11 . 0 ---> Running in 6 c 105 a 803 c 9 c Removing intermediate container 6 c 105 a 803 c 9 c ---> 8 a 4879 a 4 d 399 Step 12 / 15 : ENV CATALINA_BASE /opt/atlassian-confluence -6.11 . 0 ---> Running in 894570 c 08307 Removing intermediate container 894570 c 08307 ---> 843 b 28783 e 33 Step 13 / 15 : ENV PATH $PATH:$JAVA_HOME/bin:$CATALINA_HOME/lib:$CATALINA_HOME/bin ---> Running in 14 ea 7 d 7 ae 882 Removing intermediate container 14 ea 7 d 7 ae 882 ---> 2 fbdf 4 cb 96 b 6 Step 14 / 15 : EXPOSE 8080 ---> Running in 0 b 55 f 91 baea 1 Removing intermediate container 0 b 55 f 91 baea 1 ---> 340 b 421 dfc 43 Step 15 / 15 : CMD /opt/atlassian-confluence -6.11 . 0 /bin/startup.sh && tail -F /opt/atlassian-confluence -6.11 . 0 /logs/catalina.out ---> Running in 551 c 8481362 e Removing intermediate container 551 c 8481362 e ---> 4 edb 0 a 9 de 409 Successfully built 4 edb 0 a 9 de 409 Successfully tagged tomcat 9: latest [root@t-docker tomcat 9 ]# |