|
@@ -1,17 +1,22 @@
|
|
-FROM hub.evbj.easou.com/qa/wapage2web:v1base.0.1
|
|
|
|
|
|
+FROM hub.evbj.easou.com/dev/centos68-resin:3.1.16-jdk7
|
|
MAINTAINER scofield[scofield_shi@easou.cn]
|
|
MAINTAINER scofield[scofield_shi@easou.cn]
|
|
|
|
|
|
-ENV JAVA_HOME /usr/java/jdk1.7.0_79
|
|
|
|
|
|
+COPY release /etc/release
|
|
|
|
+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 rsyncd.wapage /etc/rsyncd.wapage
|
|
COPY rsyncd.wapage /etc/rsyncd.wapage
|
|
COPY release /etc/release
|
|
COPY release /etc/release
|
|
|
|
|
|
-RUN curl -O http://10.26.22.185:9000/psop/soft/misc.tar.gz \
|
|
|
|
- && useradd wapage \
|
|
|
|
- && rm -rf /app/soft \
|
|
|
|
- && mkdir /app/wapage \
|
|
|
|
- && chmod +x /usr/bin/entrypoint.sh \
|
|
|
|
- && tar zxf misc.tar.gz -C /app/wapage/
|
|
|
|
|
|
+RUN yum install -y rsync \
|
|
|
|
+ && yum install -y wget rsync epel-release \
|
|
|
|
+ && yum install -y vixie-cron \
|
|
|
|
+ && yum install -y supervisor \
|
|
|
|
+ && curl -O http://10.26.22.185:9000/psop/soft/misc.tar.gz \
|
|
|
|
+ && mkdir /app/wapage -p \
|
|
|
|
+ && tar zxf misc.tar.gz -C /app/wapage \
|
|
|
|
+ && chmod +x /usr/bin/entrypoint.sh
|
|
|
|
+
|
|
|
|
+COPY supervisord.conf /etc/supervisord.conf
|
|
|
|
|
|
#start misc
|
|
#start misc
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
ENTRYPOINT ["entrypoint.sh"]
|