diff options
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,5 +2,6 @@ FROM python:3-slim ARG PKGCHECK_VERSION RUN apt-get update && apt-get install -y git && \ - rm -rf /var/lib/apt/lists/ /var/cache/apt && \ - pip install pkgcheck==${PKGCHECK_VERSION} setuptools requests + rm -rf /var/lib/apt/lists/ /var/cache/apt /var/cache/dpkg && \ + pip install pkgcheck==${PKGCHECK_VERSION} setuptools requests && \ + pip cache purge |