From dbf6a842ab13ea73591157e6ad71a41f1710cba4 Mon Sep 17 00:00:00 2001 From: AnJia Date: Sun, 23 Dec 2018 00:02:17 +0800 Subject: [PATCH] Create Dockerfile-No-Jdk (#388) * Create Dockerfile-No-Jdk --- Dockerfile-No-Jdk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile-No-Jdk diff --git a/Dockerfile-No-Jdk b/Dockerfile-No-Jdk new file mode 100644 index 000000000..ee5aa794a --- /dev/null +++ b/Dockerfile-No-Jdk @@ -0,0 +1,15 @@ +FROM alpine + +ARG ARTHAS_VERSION="3.0.5" +ARG MIRROR=false + +ENV MAVEN_HOST=https://repo1.maven.org/maven2 \ + MIRROR_MAVEN_HOST=http://maven.aliyun.com/repository/public + +# if use mirror change to aliyun mirror site +RUN if $MIRROR; 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