首页 > 其他分享 >kettle pack + jprofiler

kettle pack + jprofiler

时间:2022-08-16 14:01:58浏览次数:83  
标签:jprofiler webapps kettle 镜像 jprofiler13.0 pack

官方最新镜像不是最新版本,这里构建最新版本镜像,并添加jprofiler,便于服务异常监控.

下载最新版本kettlepack后获取其部署文件并替换当前镜像中的文件.

Dockerfile:

FROM registry.cn-hangzhou.aliyuncs.com/congjing/kettlepack:latest
LABEL made in liulei,hahaha
RUN rm -rf /usr/local/tomcat/webapps/ROOT/*
COPY ./webapps  /usr/local/tomcat/webapps
COPY ./jprofiler13.0.2 /opt/jprofiler13.0.2
ENV JAVA_OPTS="-agentpath:/opt/jprofiler13.0.2/bin/linux-x64/libjprofilerti.so=port=8849,nowait"
EXPOSE 9089 8849	

可以直接使用镜像: dockerliu3/kettle-pack:0.7.4

参考资料

https://www.congjing.net/h-col-139.html
https://www.cnblogs.com/rongfengliang/p/16574403.html

标签:jprofiler,webapps,kettle,镜像,jprofiler13.0,pack
From: https://www.cnblogs.com/chengmuyu/p/16591306.html

相关文章