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 COPY pom.xml . COPY src/ /build/src COPY docker-entrypoint-script.sh . RUN mvn clean install ENTRYPOINT ["./docker-entrypoint-script.sh"]