|
@@ -1,14 +1,13 @@
|
|
-FROM hub.evbj.easou.com/qa/book-touchrs-base:v1.0.0
|
|
|
|
|
|
+FROM hub.evbj.easou.com/qa/book-touchrs-base:v1base
|
|
|
|
|
|
|
|
+#update release version
|
|
COPY release /etc/release
|
|
COPY release /etc/release
|
|
-COPY entrypoint.sh /usr/bin/entrypoint.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 \
|
|
&& chmod +x /usr/bin/entrypoint.sh
|
|
&& chmod +x /usr/bin/entrypoint.sh
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
#start resin
|
|
#start resin
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
CMD ["supervisord"]
|
|
CMD ["supervisord"]
|