修改dockerfile文件
This commit is contained in:
parent
562188dd35
commit
14a4e28eed
|
@ -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"]
|
Binary file not shown.
Loading…
Reference in New Issue