|
@@ -1,15 +1,10 @@
|
|
|
#centos68-resin:3.1.6-jdk6
|
|
|
-FROM hub.evbj.easou.com/qa/book-touchrs:v1.0.0
|
|
|
+FROM hub.evbj.easou.com/op/book-touchrs:v1.0.8
|
|
|
LABEL author="scofield[scofield_shi@staff.easou.com]"
|
|
|
|
|
|
-ADD http://10.26.22.185:9000/psop/soft/jdk1.7.79.tar /usr/java
|
|
|
-RUN tar xf /usr/java/jdk1.7.79.tar -C /usr/java \
|
|
|
- && rm -rf /app/soft/resin-pro-3.1.6/webapps/* /data/project/* /usr/java/jdk1.7.79.tar
|
|
|
-ADD http://10.26.22.185:9000/psop/conf/httpd.sh /app/soft/resin-pro-3.1.6/bin/httpd.sh
|
|
|
+RUN rm -rf /app/soft/resin-pro-3.1.6/webapps/* /data/project/*
|
|
|
ADD http://10.26.22.185:9000/psop/conf/dockerConfig/book-touchrs/ROOT.war /app/soft/resin-pro-3.1.6/webapps/
|
|
|
|
|
|
-RUN chmod 755 /app/soft/resin-pro-3.1.6/bin/httpd.sh
|
|
|
-
|
|
|
#start resin
|
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
|
CMD ["gosu", "book", "/app/soft/resin-pro-3.1.6/bin/httpd.sh"]
|