From 9fb0b3f91d7619d662dd8712479b08147c0148d6 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Sun, 20 Feb 2022 20:21:07 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E4=BF=AE=E6=94=B9dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 559d561cea..9df17fce8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]