Skip to content

Commit

Permalink
Upgrade jmeter to 5.6.3 and java to jdk21
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhansengun committed Feb 6, 2024
1 parent e2e337b commit 64e3e22
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM openjdk:8-jre AS build-env
FROM openjdk:21-jdk-bookworm AS build-env

LABEL maintainer="Gokhan Sengun <[email protected]>"

ADD https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.4.3.zip /apache-jmeter.zip
ADD https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.6.3.zip /apache-jmeter.zip
RUN unzip /apache-jmeter.zip -d /

RUN curl -L -o /usr/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 && chmod u+x /usr/bin/jq

FROM openjdk:8-jre AS runtime-env
FROM openjdk:21-jdk-slim-bookworm AS runtime-env

COPY --from=build-env /apache-jmeter-5.4.3 /jmeter
COPY --from=build-env /apache-jmeter-5.6.3 /jmeter
COPY --from=build-env /usr/bin/jq /usr/bin/jq

RUN ln -s /jmeter/bin/jmeter /usr/local/bin/jmeter
Expand All @@ -18,8 +18,8 @@ RUN ln -s /jmeter/bin/jmeter /usr/local/bin/jmeter
COPY plugins/ /jmeter/lib/ext/

# Copy MSSQL and PostgreSQL JDBC Drivers
COPY jdbc/postgresql-9.4.1209.jre7.jar /jmeter/lib/
COPY jdbc/sqljdbc4.jar /jmeter/lib/
COPY jdbc/ /jmeter/lib/
COPY common/ /jmeter/lib/

# Change workdir to /jmeter
WORKDIR /jmeter
Expand Down
Binary file added common/jmeter-plugins-cmn-jmeter-0.7.jar
Binary file not shown.
Binary file added common/jmeter-plugins-common-io-0.2.jar
Binary file not shown.
Binary file added common/json-lib-2.4-jdk15.jar
Binary file not shown.
Binary file added plugins/jmeter-plugins-udp-0.4.jar
Binary file not shown.

0 comments on commit 64e3e22

Please sign in to comment.