Skip to content

Commit

Permalink
fix jdk image & gatling zip file path
Browse files Browse the repository at this point in the history
  • Loading branch information
kane8n committed May 24, 2024
1 parent 541193b commit 0f65d92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gatling/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#
# Gatling is a highly capable load testing tool.

FROM openjdk:21-jdk-slim-bullseye
#FROM openjdk:21-jdk-slim-bullseye
FROM eclipse-temurin:21

# working directory for gatling
WORKDIR /opt
Expand All @@ -18,7 +19,7 @@ RUN mkdir -p gatling
RUN apt-get update && apt-get upgrade -y && apt-get install -y wget unzip && \
mkdir -p /tmp/downloads && \
wget -q -O /tmp/downloads/gatling-$GATLING_VERSION.zip \
https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/$GATLING_VERSION/gatling-charts-highcharts-bundle-$GATLING_VERSION-bundle.zip && \
https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/$GATLING_VERSION/gatling-charts-highcharts-bundle-$GATLING_VERSION.zip && \
mkdir -p /tmp/archive && cd /tmp/archive && \
unzip /tmp/downloads/gatling-$GATLING_VERSION.zip && \
mv /tmp/archive/gatling-charts-highcharts-bundle-$GATLING_VERSION/* /opt/gatling/ && \
Expand Down

0 comments on commit 0f65d92

Please sign in to comment.