|
@@ -0,0 +1,15 @@
|
|
|
+FROM hub.evbj.easou.com/qa/dashouye:v2.0.1
|
|
|
+MAINTAINER scofield[scofield_shi@easou.cn]
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+COPY release /etc/release
|
|
|
+COPY flume.conf /app/soft/flume-1.7.0/conf/flume.conf
|
|
|
+
|
|
|
+RUN export RELEASE=`head -n 1 /etc/release` \
|
|
|
+ && rsync -vzrtopg --progress $RELEASE/ROOT_com.war /app/soft/resin-pro-3.1.6/webapps/ROOT.war --password-file=/etc/rsyncd.wapage
|
|
|
+
|
|
|
+
|
|
|
+#start resin
|
|
|
+ENTRYPOINT ["entrypoint.sh"]
|
|
|
+CMD ["/usr/bin/supervisord","-c", "/etc/supervisor/supervisord.conf"]
|