|
@@ -2,7 +2,7 @@ FROM hub.evbj.easou.com/dev/centos68-resin:3.1.16-jdk7
|
|
MAINTAINER scofield[scofield_shi@easou.cn]
|
|
MAINTAINER scofield[scofield_shi@easou.cn]
|
|
|
|
|
|
COPY release /etc/release
|
|
COPY release /etc/release
|
|
-COPY resin.conf /app/soft/resin-pro-3.1.6/conf/resin.conf
|
|
|
|
|
|
+COPY resin.conf /app/soft/resin-pro-3.1.16/conf/resin.conf
|
|
COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
COPY resin.ini /etc/supervisor/conf.d/resin.ini
|
|
COPY resin.ini /etc/supervisor/conf.d/resin.ini
|
|
COPY rsyncd.wapage /etc/rsyncd.wapage
|
|
COPY rsyncd.wapage /etc/rsyncd.wapage
|
|
@@ -12,7 +12,7 @@ RUN yum install -y rsync
|
|
&& yum install -y wget rsync epel-release \
|
|
&& yum install -y wget rsync epel-release \
|
|
&& yum install -y supervisor
|
|
&& yum install -y supervisor
|
|
&& export RELEASE=`head -n 1 /etc/release` \
|
|
&& export RELEASE=`head -n 1 /etc/release` \
|
|
- && rsync -vzrtopg --progress $RELEASE/wapage2web_baidu.war /app/soft/resin-pro-3.1.6/webapps/ROOT.war --password-file=/etc/rsyncd.wapage
|
|
|
|
|
|
+ && rsync -vzrtopg --progress $RELEASE/wapage2web_baidu.war /app/soft/resin-pro-3.1.16/webapps/ROOT.war --password-file=/etc/rsyncd.wapage
|
|
|
|
|
|
|
|
|
|
#start resin
|
|
#start resin
|