Browse Source

更新 'Dockerfile'

robert 5 years ago
parent
commit
323d5c5648
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

@@ -3,9 +3,11 @@ MAINTAINER scofield[scofield_shi@easou.cn]
 
 
 
 
 ADD release /etc/release
 ADD release /etc/release
-
+ADD http://10.26.22.185:9000/psop/soft/flume-1.6.0.tar.gz /app/soft
 
 
 RUN export RELEASE=`head -n 1 /etc/release` \
 RUN export RELEASE=`head -n 1 /etc/release` \
+    && cd /app/soft ;tar xf flume-1.6.0.tar.gz \
+    && rm -rf /app/soft/flume /app/soft/flume-1.6.0.tar.gz \
 	&& rsync -vzrtopg --progress $RELEASE/ROOT_com.war /app/soft/resin-pro-3.1.6/webapps/ROOT.war --password-file=/etc/rsyncd.wapage
 	&& rsync -vzrtopg --progress $RELEASE/ROOT_com.war /app/soft/resin-pro-3.1.6/webapps/ROOT.war --password-file=/etc/rsyncd.wapage