From d8345be0929b7ddf9d643041d748f3d1e05afcf4 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 11 Jul 2024 17:58:51 +0200 Subject: [PATCH] dd --- Dockerfile | 7 +++---- requirements.txt | 2 -- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 18a1d23..e12920f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,10 @@ COPY requirements.txt . # hadolint ignore=DL3008,DL3028 RUN apt-get update \ && apt-get -y --no-install-recommends install wget \ - && python3 -m pip install --upgrade pip - -RUN python3 -m pip install --no-cache-dir -r requirements.txt \ + && rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* \ && apt-get clean \ - && rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* + && python3 -m pip install --upgrade pip \ + && python3 -m pip install --no-cache-dir -r requirements.txt RUN wget -q https://git.mgrote.net/mg/homeserver/raw/branch/master/requirements.yaml \ && ansible-galaxy install -r requirements.yaml diff --git a/requirements.txt b/requirements.txt index 2ccee84..1f345df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,5 @@ #pylint #pykeepass -#Jinja2 -#markupsafe #jmespath ansible #docker-compose