1 2 3 4 5 6 7
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 /var/cache/dpkg && \ pip install pkgcheck==${PKGCHECK_VERSION} setuptools requests && \ pip cache purge