MeterSphere/Dockerfile

19 lines
518 B
Docker
Raw Normal View History

2020-04-17 10:39:35 +08:00
FROM registry.fit2cloud.com/metersphere/fabric8-java-alpine-openjdk8-jre
2020-02-21 14:48:30 +08:00
MAINTAINER FIT2CLOUD <support@fit2cloud.com>
RUN mkdir -p /opt/apps
ADD backend/target/backend-1.0.jar /opt/apps
2020-05-09 15:32:43 +08:00
ADD backend/class/jmeter/apache-jmeter-5.2.1.zip /opt/jmeter
RUN rm -rf /opt/jmeter && unzip -o apache-jmeter-5.2.1.zip && rm -rf /opt/jmeter/apache-jmeter-5.2.1.zip
2020-02-21 14:48:30 +08:00
ENV JAVA_APP_JAR=/opt/apps/backend-1.0.jar
ENV AB_OFF=true
2020-04-16 18:50:40 +08:00
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true"
2020-02-21 14:48:30 +08:00
CMD ["/deployments/run-java.sh"]