Decrease docker image size and improve cache
FROM python:3.8-slim-buster
+RUN apt-get update && apt install -y \
+ git \
+ && rm -rf /var/lib/apt/lists/*
+
RUN pip install -U checkov
-RUN apt-get update
-RUN apt install -y git
ENTRYPOINT ["checkov"]
