Browse Source

[cI SKIP]

robert 4 years ago
parent
commit
c6678e019c
1 changed files with 15 additions and 0 deletions
  1. 15 0
      Dockerfile

+ 15 - 0
Dockerfile

@@ -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"]