build: 修改dockerfile

This commit is contained in:
CaptainB 2022-02-20 20:20:14 +08:00
parent b6d7cccf14
commit 0e35e65bfd
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 MS_VERSION=${MS_VERSION}
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true" 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"]