Dockerfile 952 B

123456789101112131415161718192021222324
  1. FROM hub.evbj.easou.com/rec/eavideo-admin:v1base
  2. COPY 2ea92094abd2c97ce8d8036c8fc0087d /root/.subversion/auth/svn.ssl.server/2ea92094abd2c97ce8d8036c8fc0087d
  3. COPY build.sh /app/build.sh
  4. COPY supervisord.conf /etc/supervisord.conf
  5. COPY rsync.pass /etc/rsync.pass
  6. COPY sersync.tar.gz /app/soft/sersync.tar.gz
  7. COPY entrypoint.sh /usr/bin/entrypoint.sh
  8. RUN tar xf /app/soft/sersync.tar.gz -C /app/soft \
  9. && rm -f /app/soft/sersync.tar.gz \
  10. && chmod 600 /etc/rsync.pass \
  11. && chmod +x /usr/bin/entrypoint.sh \
  12. && cd /app \
  13. && echo 'yes' | svn co https://svn.evbj.easou.com/codes/ep/base/search/eavideo/eavideo_adv_app/branches/appid80002 --username hunter_lu --password=easou_hunter trunk \
  14. && sh /app/build.sh \
  15. && cp /app/trunk/eavideoapp-admin/target/eavideoapp-admin.jar /app/wapage/ \
  16. && rm -rf /app/trunk
  17. COPY sersync_confxml.xml /app/soft/sersync/conf/confxml.xml
  18. ENTRYPOINT ["entrypoint.sh"]
  19. CMD ["supervisord"]