2024-07-11 17:48:35 +02:00
|
|
|
FROM python:3.12.4-bookworm
|
2024-07-09 22:35:14 +02:00
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
WORKDIR /
|
|
|
|
COPY requirements.txt .
|
|
|
|
|
|
|
|
# hadolint ignore=DL3008,DL3028
|
|
|
|
RUN apt-get update \
|
2024-07-11 17:55:38 +02:00
|
|
|
&& apt-get -y --no-install-recommends install wget \
|
2024-07-11 17:58:51 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* \
|
2024-07-09 22:35:14 +02:00
|
|
|
&& apt-get clean \
|
2024-07-11 17:58:51 +02:00
|
|
|
&& python3 -m pip install --upgrade pip \
|
|
|
|
&& python3 -m pip install --no-cache-dir -r requirements.txt
|
2024-07-09 22:35:14 +02:00
|
|
|
|
2024-07-09 22:38:44 +02:00
|
|
|
RUN wget -q https://git.mgrote.net/mg/homeserver/raw/branch/master/requirements.yaml \
|
2024-07-09 22:35:14 +02:00
|
|
|
&& ansible-galaxy install -r requirements.yaml
|
2024-07-11 17:57:26 +02:00
|
|
|
|
|
|
|
# todo
|
|
|
|
# alle linter an
|
|
|
|
# alle paketemit version
|
|
|
|
# alle pakete einkomemntiert
|