gatling-sample-framework/docker/Dockerfile

20 lines
409 B
Docker
Raw Permalink Normal View History

2024-10-25 22:12:59 +00:00
FROM maven:3.9.8-eclipse-temurin-17-alpine
RUN apk add -Uuv python3 less py-pip openssl tzdata zip
RUN apk list -I
RUN cp /usr/share/zoneinfo/Europe/London /etc/localtime
RUN apk --purge -v del py-pip && rm /var/cache/apk/*
WORKDIR /build
2024-10-25 22:22:05 +00:00
COPY ../pom.xml .
2024-10-25 22:12:59 +00:00
2024-10-25 22:22:05 +00:00
COPY ../src /build/src
COPY docker-entrypoint-script.sh .
2024-10-25 22:12:59 +00:00
RUN mvn clean install
ENTRYPOINT ["./docker-entrypoint-script.sh"]