From f8e8dfb4ff762f793757bd40a90296a7cf085ea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Canal?= Date: Thu, 14 Oct 2021 08:56:44 -0300 Subject: [PATCH] Improve Dockerfile with Hadolint suggestions --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index fe0b959..c823f36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,8 @@ FROM python:3-alpine -RUN pip install truffleHog - -RUN apk --update add git less openssh && \ - rm -rf /var/lib/apt/lists/* && \ - rm /var/cache/apk/* +# hadolint ignore=DL3013,DL3018 +RUN pip install --no-cache-dir truffleHog && \ + apk add --no-cache git less openssh COPY "entrypoint.sh" "/entrypoint.sh"