Dockerfile-base 786 B

12345678910111213141516171819202122232425
  1. FROM hub.evbj.easou.com/dev/centos:6.8
  2. MAINTAINER scofield[scofield_shi@easou.cn]
  3. COPY entrypoint.sh /usr/bin/entrypoint.sh
  4. COPY rsyncd.wapage /etc/rsyncd.wapage
  5. COPY release /etc/release
  6. RUN yum install -y rsync \
  7. && useradd wapage \
  8. && yum install -y wget rsync epel-release \
  9. && yum install -y vixie-cron \
  10. && yum install -y supervisor \
  11. && chmod +x /usr/bin/entrypoint.sh \
  12. && curl -O http://10.26.22.185:9000/psop/soft/misc.tar.gz \
  13. && curl -O http://10.26.22.185:9000/psop/soft/jdk1.6.0_21.tar.gz \
  14. && mkdir /usr/java /app \
  15. && tar -zxf jdk1.6.0_21.tar.gz -C /usr/java/ \
  16. && tar zxf misc.tar.gz -C /app/ \
  17. && rm -f jdk1.6.0_21.tar.gz misc.tar.gz
  18. COPY supervisord.conf /etc/supervisord.conf
  19. #start miscSearch
  20. ENTRYPOINT ["entrypoint.sh"]
  21. CMD ["/usr/bin/supervisord"]