20 lines
411 B
Docker
20 lines
411 B
Docker
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/docker-entrypoint-script.sh .
|
|
|
|
RUN mvn clean install
|
|
|
|
ENTRYPOINT ["./docker-entrypoint-script.sh"]
|