30 Star 79 Fork 21

Gitee 极速下载/Arthas

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/alibaba/arthas
克隆/下载
Dockerfile-No-Jdk 675 Bytes
一键复制 编辑 原始数据 按行查看 历史
hengyunabc 提交于 2025-03-11 23:36 +08:00 . release 4.0.5
# Stage 1: Build
FROM openjdk:8-jdk-alpine AS builder
ARG ARTHAS_VERSION="4.0.5"
ARG MIRROR=false
ENV MAVEN_HOST=https://repo1.maven.org/maven2 \
MIRROR_MAVEN_HOST=https://maven.aliyun.com/repository/public
# if use mirror change to aliyun mirror site
RUN if [ "$MIRROR" = "true" ]; then MAVEN_HOST=${MIRROR_MAVEN_HOST} ; fi && \
# 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
# Stage 2: Final
FROM alpine
COPY --from=builder /opt/arthas /opt/arthas
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/Arthas.git
[email protected]:mirrors/Arthas.git
mirrors
Arthas
Arthas
master

搜索帮助