Skip to content

Commit 1bc64df

Browse files
committed
Fix Dockerfile
1 parent 01c29a3 commit 1bc64df

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gatling/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
# This is modified based on the original file:
2+
# https://github.com/denvazh/gatling/tree/master/3.2.1
3+
#
14
# Gatling is a highly capable load testing tool.
25

3-
FROM openjdk:17-jdk-slim
6+
FROM openjdk:17-jdk-slim-bullseye
47

58
# working directory for gatling
69
WORKDIR /opt
@@ -12,7 +15,7 @@ ENV GATLING_VERSION 3.9.5
1215
RUN mkdir -p gatling
1316

1417
# install gatling
15-
RUN apt-get update && apt install -y wget bash libc6-dev unzip && \
18+
RUN apt-get update && apt-get upgrade -y && apt-get install -y wget libc6-dev unzip && \
1619
mkdir -p /tmp/downloads && \
1720
wget -q -O /tmp/downloads/gatling-$GATLING_VERSION.zip \
1821
https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/$GATLING_VERSION/gatling-charts-highcharts-bundle-$GATLING_VERSION-bundle.zip && \

0 commit comments

Comments
 (0)