360SDN.COM

tomcat8的Docfile示例

来源:  2019-06-14 16:53:05    评论:0点击:


FROM tomcat:8.5.34-slim
COPY ./jdk1.8.0_111 /usr/local/jdk
COPY ./apache-tomcat-8.5.33 /tomcat
ENV JAVA_HOME /usr/local/jdk
ENV JRE_HOME $JAVA_HOME/jre  
ENV CLASSPATH .:$JAVA_HOME/lib:$JRE_HOME/lib  
ENV PATH $JAVA_HOME/bin:/tomcat/bin:$PATH
ENV CATALINA_HOME /tomcat
ENV TOMCAT_NATIVE_LIBDIR /tomcat/native-jni-lib
ENV LD_LIBRARY_PATH /tomcat/native-jni-lib
ENV CATALINA_OPTS -Xms128m -Xmx1424m -XX:PermSize=64M -XX:MaxPermSize=512M
ENTRYPOINT  /tomcat/bin/startup.sh && tail -F /tomcat/logs/catalina.out
为您推荐

友情链接 |九搜汽车网 |手机ok生活信息网|ok生活信息网|ok微生活
 Powered by www.360SDN.COM   京ICP备11022651号-4 © 2012-2016 版权