|
@@ -0,0 +1,12 @@
|
|
|
+FROM hub.evbj.easou.com/dev/centos:6.8
|
|
|
+MAINTAINER scofield[scofield_shi@easou.cn]
|
|
|
+
|
|
|
+#update release version
|
|
|
+COPY release /etc/release
|
|
|
+
|
|
|
+RUN export RELEASE=`head -n 1 /etc/release` \
|
|
|
+ && rsync -vzrtopg --progress $RELEASE/wapage2web_baidu.war /app/resin-pro-3.1.6/webapps/ROOT.war --password-file=/etc/rsyncd.wapage
|
|
|
+
|
|
|
+#start resin
|
|
|
+ENTRYPOINT ["entrypoint.sh"]
|
|
|
+CMD ["supervisord"]
|