Dockerfile 670 B

123456789101112131415161718192021
  1. FROM hub.evbj.easou.com/dev/centos68-resin:3.1.16-jdk8
  2. MAINTAINER scofield[scofield_shi@easou.cn]
  3. #install
  4. RUN yum install -y wget rsync epel-release \
  5. && yum install -y vixie-cron \
  6. && yum install -y supervisor \curl -O http://10.26.22.185:9000/psop/soft/ads.war /app/resin-pro-3.1.6/webapps/ads.war \
  7. && rm -f /app/resin-pro-3.1.6/conf/resin.conf
  8. COPY entrypoint.sh /usr/bin/entrypoint.sh
  9. COPY release /etc/release
  10. COPY supervisord.conf /etc/supervisord.conf
  11. COPY resin.conf /app/resin-pro-3.1.6/conf/resin.conf
  12. RUN export RELEASE=`head -n 1 /etc/release` \
  13. && chmod +x /usr/bin/entrypoint.sh \
  14. #start resin
  15. ENTRYPOINT ["entrypoint.sh"]
  16. CMD ["supervisord"]