From 737cd22bb9fc118a3260fc7635bc0dce4e6f5400 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 27 Sep 2020 21:07:29 +0200 Subject: [PATCH] root: fix apt autoremove call --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 61f343de3..5803f4ae7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,10 +17,10 @@ COPY --from=locker /app/requirements-dev.txt / RUN apt-get update && \ apt-get install -y --no-install-recommends postgresql-client-11 build-essential && \ - rm -rf /var/lib/apt/ && \ - pip install -r /requirements.txt --no-cache-dir && \ + apt-get clean && \ + pip install -r /requirements.txt --no-cache-dir && \ apt-get remove --purge -y build-essential && \ - apt-get autoremove --purge && \ + apt-get autoremove --purge -y && \ adduser --system --no-create-home --uid 1000 --group --home /passbook passbook COPY ./passbook/ /passbook