Metrics
0
Watch 440 Star 1.5K Fork 336

GVPArthas / arthasJavaGPL-3.0

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Arthas(阿尔萨斯)是阿里巴巴开源的 Java 诊断工具 spread retract

https://alibaba.github.io/arthas/

  • Java 72.8%
  • JavaScript 21.6%
  • Shell 1.8%
  • Python 1.3%
  • HTML 0.9%
  • Other 1.6%
Clone or download
Dockerfile 928 Bytes
Copy Edit Web IDE Raw Blame History
hengyunabc authored 2019-09-19 00:56 . prepare release
FROM openjdk:8-jdk-alpine
ARG ARTHAS_VERSION="3.1.3"
ARG MIRROR=false
ENV MAVEN_HOST=http://repo1.maven.org/maven2 \
ALPINE_HOST=dl-cdn.alpinelinux.org \
MIRROR_MAVEN_HOST=http://maven.aliyun.com/repository/public \
MIRROR_ALPINE_HOST=mirrors.aliyun.com
# if use mirror change to aliyun mirror site
RUN if $MIRROR; then MAVEN_HOST=${MIRROR_MAVEN_HOST} ;ALPINE_HOST=${MIRROR_ALPINE_HOST} ; sed -i "s/dl-cdn.alpinelinux.org/${ALPINE_HOST}/g" /etc/apk/repositories ; fi && \
# https://github.com/docker-library/openjdk/issues/76
apk add --no-cache tini && \
# download & install arthas
wget -qO /tmp/arthas.zip "${MAVEN_HOST}/com/taobao/arthas/arthas-packaging/${ARTHAS_VERSION}/arthas-packaging-${ARTHAS_VERSION}-bin.zip" && \
mkdir -p /opt/arthas && \
unzip /tmp/arthas.zip -d /opt/arthas && \
rm /tmp/arthas.zip
# Tini is now available at /sbin/tini
ENTRYPOINT ["/sbin/tini", "--"]

Comment ( 0 )

You need to Sign in for post a comment

Java
1
https://gitee.com/arthas/arthas.git
git@gitee.com:arthas/arthas.git

Help Search