Browse Source

更新 'Dockerfile-base'

scofield 5 năm trước cách đây
mục cha
commit
0a3d4399b8
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Dockerfile-base

+ 2 - 1
Dockerfile-base

@@ -24,6 +24,7 @@ COPY resin.properties /etc/resin/resin.properties
 COPY entrypoint.sh /usr/bin/entrypoint.sh
 COPY release /etc/release 
 COPY supervisord.conf /etc/supervisord.conf
+COPY flume_start.sh /app/soft/flume-1.7.0/start.sh 
 
 RUN export RELEASE=`head -n 1 /etc/release` \
     && rsync -avz $RELEASE/ROOT.war /tmp/ROOT.war \
@@ -31,4 +32,4 @@ RUN export RELEASE=`head -n 1 /etc/release` \
 
 #start resin
 ENTRYPOINT ["entrypoint.sh"]
-CMD ["resinctl","console"]
+CMD ["supervisord"]