build: 删除无用的环境变量AB_OFF.
This commit is contained in:
parent
9c6a06a3b8
commit
ca867b8b7a
|
@ -20,7 +20,6 @@ RUN mv /app/jmeter /opt/
|
||||||
|
|
||||||
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
||||||
ENV JAVA_MAIN_CLASS=io.metersphere.ApiApplication
|
ENV JAVA_MAIN_CLASS=io.metersphere.ApiApplication
|
||||||
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 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,6 @@ COPY ${DEPENDENCY}/BOOT-INF/classes /app
|
||||||
|
|
||||||
ENV JAVA_CLASSPATH=/app:/app/lib/*
|
ENV JAVA_CLASSPATH=/app:/app/lib/*
|
||||||
ENV JAVA_MAIN_CLASS=io.metersphere.eureka.EurekaApplication
|
ENV JAVA_MAIN_CLASS=io.metersphere.eureka.EurekaApplication
|
||||||
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 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ COPY src/main/resources/static/*.worker.js /app/static/
|
||||||
|
|
||||||
ENV JAVA_CLASSPATH=/app:/app/lib/*
|
ENV JAVA_CLASSPATH=/app:/app/lib/*
|
||||||
ENV JAVA_MAIN_CLASS=io.metersphere.gateway.GatewayApplication
|
ENV JAVA_MAIN_CLASS=io.metersphere.gateway.GatewayApplication
|
||||||
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 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED -Dreactor.netty.pool.leasingStrategy=lifo"
|
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED -Dreactor.netty.pool.leasingStrategy=lifo"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ RUN mv /app/lib/ms-jmeter-core-*.jar /app/lib/ms-jmeter-core.jar
|
||||||
|
|
||||||
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
||||||
ENV JAVA_MAIN_CLASS=io.metersphere.PerformanceApplication
|
ENV JAVA_MAIN_CLASS=io.metersphere.PerformanceApplication
|
||||||
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 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ RUN mv /app/lib/ms-jmeter-core-*.jar /app/lib/ms-jmeter-core.jar
|
||||||
|
|
||||||
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
||||||
ENV JAVA_MAIN_CLASS=io.metersphere.ProjectApplication
|
ENV JAVA_MAIN_CLASS=io.metersphere.ProjectApplication
|
||||||
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 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ RUN mv /app/lib/ms-jmeter-core-*.jar /app/lib/ms-jmeter-core.jar
|
||||||
|
|
||||||
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
||||||
ENV JAVA_MAIN_CLASS=io.metersphere.ReportApplication
|
ENV JAVA_MAIN_CLASS=io.metersphere.ReportApplication
|
||||||
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 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ RUN mv /app/lib/ms-jmeter-core-*.jar /app/lib/ms-jmeter-core.jar
|
||||||
|
|
||||||
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
||||||
ENV JAVA_MAIN_CLASS=io.metersphere.SettingApplication
|
ENV JAVA_MAIN_CLASS=io.metersphere.SettingApplication
|
||||||
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 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ RUN mv /app/lib/ms-jmeter-core-*.jar /app/lib/ms-jmeter-core.jar
|
||||||
|
|
||||||
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
||||||
ENV JAVA_MAIN_CLASS=io.metersphere.TrackApplication
|
ENV JAVA_MAIN_CLASS=io.metersphere.TrackApplication
|
||||||
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 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue