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