Dockerfile 730 B

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