1 Star 0 Fork 1.2K

Sam-Mo/arthas

forked from Arthas/arthas 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile-No-Jdk 675 Bytes
一键复制 编辑 原始数据 按行查看 历史
hengyunabc 提交于 2024-11-13 17:00 . release 4.0.3
# Stage 1: Build
FROM openjdk:8-jdk-alpine AS builder
ARG ARTHAS_VERSION="4.0.3"
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 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/mjz361754100/arthas.git
git@gitee.com:mjz361754100/arthas.git
mjz361754100
arthas
arthas
master

搜索帮助