robert vor 1 Jahr
Ursprung
Commit
32a65d0140
1 geänderte Dateien mit 9 neuen und 1 gelöschten Zeilen
  1. 9 1
      Dockerfile

+ 9 - 1
Dockerfile

@@ -3,13 +3,21 @@ FROM hub.evbj.easou.com/rec/eavideo-admin:v1base
 COPY 2ea92094abd2c97ce8d8036c8fc0087d /root/.subversion/auth/svn.ssl.server/2ea92094abd2c97ce8d8036c8fc0087d
 COPY build.sh /app/build.sh
 COPY supervisord.conf /etc/supervisord.conf
+COPY rsync.pass /etc/rsync.pass
+COPY sersync.tar.gz /app/soft/sersync.tar.gz
+COPY entrypoint.sh /usr/bin/entrypoint.sh
 
 
-RUN cd /app \
+RUN tar xf  /app/soft/sersync.tar.gz -C /app/soft \
+    && chmod 600 /etc/rsync.pass \
+    && chmod +x /usr/bin/entrypoint.sh \
+    && cd /app \
     && echo 'yes' | svn co https://svn.evbj.easou.com/codes/ep/base/search/eavideo/eavideo_adv_app/branches/app2.0 --username hunter_lu --password=easou_hunter trunk \
     && sh /app/build.sh \
     && cp /app/trunk/eavideoapp-admin/target/eavideoapp-admin.jar /app/wapage/ \
     && rm -rf /app/trunk 
 
+COPY sersync_confxml.xml /app/soft/sersync/conf/confxml.xml
+
 ENTRYPOINT ["entrypoint.sh"]
 CMD ["supervisord"]