stone 3 жил өмнө
parent
commit
b85d3f0dfd
1 өөрчлөгдсөн 5 нэмэгдсэн , 1 устгасан
  1. 5 1
      Dockerfile

+ 5 - 1
Dockerfile

@@ -5,7 +5,11 @@ ENV TZ=Asia/Shanghai
 COPY entrypoint.sh /usr/bin/entrypoint.sh
 RUN rm -rf /app/wapage \
 	&& rm -f /etc/supervisord.conf \
-	&& chmod +x /usr/bin/entrypoint.sh
+	&& rm -rf /usr/local/java/jdk1.6.0_21 \
+	&& chmod +x /usr/bin/entrypoint.sh \
+	&& curl -O http://10.26.22.185:9000/psop/soft/jdk1.8.0_191.tar.gz \
+	&& tar -zxf jdk1.8.0_191.tar.gz -C /usr/local/java/ \
+	&& ln -s /usr/local/java/jdk1.8.0_191/bin/* /usr/bin/
 ADD http://10.26.22.185:9000/psop/soft/ads.war /app/resin-pro-3.1.6/webapps/ads.war
 COPY supervisord.conf /etc/supervisord.conf
 COPY resin.conf /app/resin-pro-3.1.6/conf/resin.conf