diff --git a/src/main/resources/Dockerfile b/src/main/resources/Dockerfile index 84fb10a4..1e0174d9 100644 --- a/src/main/resources/Dockerfile +++ b/src/main/resources/Dockerfile @@ -9,5 +9,15 @@ RUN sed -i 's/jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1/jdk.tls.disabledA FROM base AS final WORKDIR /app COPY . . + +RUN mkdir ./arthas &&\ + tar -zxvf ./arthas.tar.gz -C ./arthas/ &&\ + rm -rf /home/admin/.arthas/lib/* &&\ + cd ./arthas/arthas-bin &&\ + chmod +x ./install-local.sh &&\ + chmod +x ./as.sh +RUN cd ./arthas/arthas-bin && ./install-local.sh + + RUN rm -f /app/Dockerfile ENTRYPOINT ["java", "-jar", "app.jar"] \ No newline at end of file diff --git a/src/main/resources/arthas.tar.gz b/src/main/resources/arthas.tar.gz new file mode 100644 index 00000000..098811c6 Binary files /dev/null and b/src/main/resources/arthas.tar.gz differ