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
|
|
|
|
|
|
|
|
COPY pom.xml .
|
|
|
|
|
|
|
|
COPY src/ /build/src
|
2024-10-25 22:19:34 +00:00
|
|
|
COPY docker/docker-entrypoint-script.sh .
|
2024-10-25 22:12:59 +00:00
|
|
|
|
|
|
|
RUN mvn clean install
|
|
|
|
|
|
|
|
ENTRYPOINT ["./docker-entrypoint-script.sh"]
|