Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cicd/jmeter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM azul/zulu-openjdk-alpine:21.0.2-21.32-jre
FROM azul/zulu-openjdk-alpine:26.0.2.1-26.32-jre
ARG jmeterVersion=5.2.1
EXPOSE 4445
ENV JMETER_FILENAME=testplan.jmx
RUN mkdir -p /jmeter-logs; mkdir -p /jmeter-src; mkdir -p /jmeter-results; chmod 777 /jmeter-src; chmod 777 /jmeter-logs; chmod 777 /jmeter-results

Check warning on line 5 in cicd/jmeter/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make sure granting write access to others is safe here.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AaA1XsguObA3UIzKlLOU&open=AaA1XsguObA3UIzKlLOU&pullRequest=443

Check warning on line 5 in cicd/jmeter/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make sure granting write access to others is safe here.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AaA1XsguObA3UIzKlLOS&open=AaA1XsguObA3UIzKlLOS&pullRequest=443

Check warning on line 5 in cicd/jmeter/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make sure granting write access to others is safe here.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AaA1XsguObA3UIzKlLOT&open=AaA1XsguObA3UIzKlLOT&pullRequest=443
RUN apk update && apk --upgrade add bash zsh curl unzip tar

Check warning on line 6 in cicd/jmeter/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Sort these package names alphanumerically.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AaA1XsguObA3UIzKlLOV&open=AaA1XsguObA3UIzKlLOV&pullRequest=443

Check warning on line 6 in cicd/jmeter/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove cache after installing packages or store it in a cache mount.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AaA1XsguObA3UIzKlLOR&open=AaA1XsguObA3UIzKlLOR&pullRequest=443
ADD jmeter-${jmeterVersion}.zip /tmp/jmeter.zip
RUN mkdir -p /jmeter; unzip -d /tmp /tmp/jmeter.zip; cp -R /tmp/apache-jmeter-${jmeterVersion}/* /jmeter/; rm -rf /tmp/apache-jmeter-${jmeterVersion}; rm /tmp/*.zip

Check warning on line 8 in cicd/jmeter/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Surround this variable with double quotes; otherwise, it can lead to unexpected behavior.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AaA1XsguObA3UIzKlLOW&open=AaA1XsguObA3UIzKlLOW&pullRequest=443

Check warning on line 8 in cicd/jmeter/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Surround this variable with double quotes; otherwise, it can lead to unexpected behavior.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AaA1XsguObA3UIzKlLOX&open=AaA1XsguObA3UIzKlLOX&pullRequest=443
COPY entrypoint.sh /entrypoint.sh
COPY runTest.sh /runTest.sh
WORKDIR /jmeter-src
Expand Down
Loading