FROM python:3.10-alpine

RUN apk update \
    && apk add git build-base python3-dev musl-dev wget ca-certificates \
    && pip3 install --no-cache-dir python-gitlab pycobertura numpy \
    && apk del build-base
RUN wget http://intranet.ircad.fr/ca/CA-IRCSDC06.crt -O /usr/local/share/ca-certificates/CA-IRCSDC06.crt \
    && update-ca-certificates