build: 修改dockerfile

This commit is contained in:
CaptainB 2022-02-20 20:21:07 +08:00
parent c924098125
commit 9fb0b3f91d
1 changed files with 3 additions and 1 deletions

View File

@ -15,4 +15,6 @@ ENV AB_OFF=true
ENV MS_VERSION=${MS_VERSION}
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true"
CMD ["sh", "-c", "mv /opt/lib/ms-jmeter-core*.jar /opt/lib/ms-jmeter-core.jar && /deployments/run-java.sh"]
RUN mv /opt/lib/ms-jmeter-core*.jar /opt/lib/ms-jmeter-core.jar
CMD ["/deployments/run-java.sh"]