12345678910111213141516171819202122232425 |
- FROM hub.evbj.easou.com/dev/centos:6.8
- MAINTAINER scofield[scofield_shi@easou.cn]
- COPY entrypoint.sh /usr/bin/entrypoint.sh
- COPY rsyncd.wapage /etc/rsyncd.wapage
- COPY release /etc/release
- RUN yum install -y rsync \
- && useradd wapage \
- && yum install -y wget rsync epel-release \
- && yum install -y vixie-cron \
- && yum install -y supervisor \
- && chmod +x /usr/bin/entrypoint.sh \
- && curl -O http://10.26.22.185:9000/psop/soft/misc.tar.gz \
- && curl -O http://10.26.22.185:9000/psop/soft/jdk1.6.0_21.tar.gz \
- && mkdir /usr/java /app \
- && tar -zxf jdk1.6.0_21.tar.gz -C /usr/java/ \
- && tar zxf misc.tar.gz -C /app/ \
- && rm -f jdk1.6.0_21.tar.gz misc.tar.gz
- COPY supervisord.conf /etc/supervisord.conf
- #start miscSearch
- ENTRYPOINT ["entrypoint.sh"]
- CMD ["/usr/bin/supervisord"]
|