Parcourir la source

更新 'Dockerfile'

robert il y a 5 ans
Parent
commit
8d2345a5c1
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -9,7 +9,8 @@ ADD resin.properties /etc/resin/resin.properties
 ADD http://10.26.22.185:9000/psop/conf/dockerConfig/book-touchrs/ROOT.war /data/project/
 ADD http://10.26.22.185:9000/psop/soft/flume-1.7.0.tar.gz /app/soft 
 RUN cd /app/soft/ && tar xf flume-1.7.0.tar.gz \
-    && chown resin:resin -R /etc/resin && chown -R book.book /data
+    && chown resin:resin -R /etc/resin && chown -R book.book /data \
+    && rm -f /app/soft/flume-1.7.0.tar.gz
 
 #start resin
 ENTRYPOINT ["entrypoint.sh"]