-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade jmeter to 5.6.3 and java to jdk21
- Loading branch information
1 parent
e2e337b
commit 64e3e22
Showing
5 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.