# License: MIT
# Copyright © 2024 Frequenz Energy-as-a-Service GmbH
# This Dockerfile is used to test the installation of the python package in
# multiple platforms in the CI. It is not used to build the package itself.

FROM python:3.11-slim

RUN apt-get update -y && \
    apt-get install --no-install-recommends -y \
    git && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* && \
    python -m pip install --upgrade --no-cache-dir pip

COPY dist dist
RUN pip install dist/*.whl && \
    rm -rf dist
