Sign inSign up

cirepo/service-base-image-java

By cirepo

Updated about 7 years ago

Image
1

10K+

cirepo/service-base-image-java repository overview

docker-service-base-image-java

docker-service-base-image-java

Base docker image for Java based services with locale settings

Features:

  • remote debug

  • jmc

  • /opt/ejstatd/ejstatd-1.0.0.jar

  • jmxremote

  • jprofiler agent /opt/jprofiler11

  • jstack-profiler /opt/jstack-profiler

  • Performance Co-Pilot (PCP) and Netflix vector with CPU Flame Graphs support Limitation: centos, fedora and ubuntu images only, alpine is not supported Docker containers share kernel with hosts. Linux perf tool requires a kernel version same as debuginfo/dbgsym in the container.

  • arthas Run /usr/local/arthas/as.sh

  • JAVA_OPTS="-Duser.language=en -Duser.region=US -Dfile.encoding=UTF-8 -Duser.timezone=Etc/UTC"

Env variables:

Java11 OpenJDK

cirepo/service-base-image-java:openjdk-11.0.2-en_US.UTF-8_Etc.UTC-alpine cirepo/service-base-image-java:openjdk-11.0.2-en_US.UTF-8_Etc.UTC-bionic cirepo/service-base-image-java:openjdk-11.0.2-en_US.UTF-8_Etc.UTC-centos cirepo/service-base-image-java:openjdk-11.0.2-en_US.UTF-8_Etc.UTC-fedora

Java11 Zulu

cirepo/service-base-image-java:zulu-11.0.2-en_US.UTF-8_Etc.UTC-alpine

References

https://dl.bintray.com/pcp/ https://github.com/binarybrian/flamegraphs

Build on a node (172.17.8.101) of vagrant based k8s cluster (flannel network 172.33/16)

netstat -nr
sudo route -n delete -net 172.33/16
sudo route -n add    -net 172.33/16 172.17.8.101

rsync -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i $(pwd)/../kubernetes-vagrant-centos-cluster/.vagrant/machines/node1/virtualbox/private_key" \
  --progress $(pwd)/docker-service-base-image-java [email protected]:/home/vagrant

Tag summary

Content type

Image

Digest

Size

2.3 GB

Last updated

about 7 years ago

docker pull cirepo/service-base-image-java:openjdk-11.0.2-zh_CN.UTF-8_Asia.Shanghai-bionic