美文网首页
dockerfile文件-jmeter

dockerfile文件-jmeter

作者: 左子穆 | 来源:发表于2019-08-04 18:02 被阅读0次

    FROM openjdk:8-jdk
    ENV JMETER_VERSION=5.1.1
    ENV JMETER_HOME=/usr/local/apache-jmeter-{JMETER_VERSION} ENV PATH={JMETER_HOME}/bin:${PATH}

    ENV http_proxy ""
    ENV https_proxy ""

    RUN apt-get -y update &&
    apt-get -y install wget

    RUN wget http://mirrors.tuna.tsinghua.edu.cn/apache/jmeter/binaries/apache-jmeter-{JMETER_VERSION}.tgz && \ tar -xzf apache-jmeter-{JMETER_VERSION}.tgz -C /usr/local/

    RUN rm -rf apache-jmeter-{JMETER_VERSION}.tgz \{JMETER_HOME}/bin/examples
    {JMETER_HOME}/bin/templates \{JMETER_HOME}/bin/.cmd
    {JMETER_HOME}/bin/*.bat \{JMETER_HOME}/docs
    ${JMETER_HOME}/printable_docs &&
    apt-get -y remove wget &&
    apt-get -y --purge autoremove &&
    apt-get -y clean &&
    rm -rf /var/lib/apt/lists/
    /tmp/* /var/tmp/*

    CMD ["jmeter-sever" ,"-D server.rmi.ssl.disable=true -LDEBUG -Djava.rmi.server.hostname=192.168.1.18 -Dserver.rmi.localport=1099 -Dserver_port=1099" ]

    相关文章

      网友评论

          本文标题:dockerfile文件-jmeter

          本文链接:https://www.haomeiwen.com/subject/suvydctx.html