FROM maven:3.9.9-eclipse-temurin-11-alpine

MAINTAINER Tony Chemit <dev@tchemit.fr>

ENV LANG en_US.UTF-8

COPY home /root/

RUN apk update && apk add git mingw-w64-binutils
RUN chmod 600 -R /root/.ssh ; chmod 600 -R /root/.gnupg
RUN (ln -s ~/.m2/settings-security.xml ~/.settings-security.xml)
RUN wget -q -O - https://gitlab.com/ultreiaio-infra/scripts/raw/master/install.sh | bash