Skip to content

Commit

Permalink
Install jmeter to the image, open ports 8081 and 8443 to docker host,…
Browse files Browse the repository at this point in the history
… added folders to ignore list
  • Loading branch information
neomatrix369 committed Sep 30, 2021
1 parent ca75d25 commit b7033ce
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,5 @@ native-list-dir/listdir.build_artifacts.txt
java-kotlin-aot/helloworld
java-kotlin-aot/helloworld.build_artifacts.txt
shared
micronaut-nativeimage/hello/
micronaut-nativeimage/hello/
micronaut-webapp/loadTests/results-*
8 changes: 8 additions & 0 deletions docker-images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ ENV M2_HOME="/usr/local/apache-maven/apache-maven-${MAVEN_VERSION}/"
ENV PATH=${M2_HOME}/bin:${PATH}
RUN echo " --- Maven version:"; mvn --version; echo

# Install jmeter
RUN cd /tmp/; wget -q -nv https://dlcdn.apache.org//jmeter/binaries/apache-jmeter-5.4.1.zip
RUN unzip /tmp/apache-jmeter-5.4.1.zip
ENV JMETER_HOME="${WORKDIR}/apache-jmeter-5.4.1"
ENV PATH=${JMETER_HOME}/bin:${PATH}
RUN echo " --- Jmeter version:"; jmeter --version; echo


LABEL maintainer="GraalVM team"
LABEL example_git_repo="https://github.com/graalvm/graalvm-demos"
LABEL graalvm_version=${FULL_GRAALVM_VERSION}
Expand Down
2 changes: 2 additions & 0 deletions runDockerImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ docker run --rm \
-p 8888:8888 \
-p 8088:8088 \
-p 8080:8080 \
-p 8081:8081 \
-p 8443:8443 \
${FULL_DOCKER_TAG_NAME}:${FULL_GRAALVM_VERSION}

0 comments on commit b7033ce

Please sign in to comment.