From 51313d02aa1c10341567691192773febefc40e20 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 26 Oct 2024 00:11:31 +0200 Subject: [PATCH] Fix: Use no-cache to satisfy Trivy Signed-off-by: Knut Ahlers --- Dockerfile | 2 +- Dockerfile.minimal | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f4c09c9..f759b11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ COPY . /go/src/github.com/Luzifer/ots WORKDIR /go/src/github.com/Luzifer/ots RUN set -ex \ - && apk update && apk add \ + && apk --no-cache add \ curl \ git \ make \ diff --git a/Dockerfile.minimal b/Dockerfile.minimal index e4f47b3..1ca5bf3 100644 --- a/Dockerfile.minimal +++ b/Dockerfile.minimal @@ -8,7 +8,7 @@ COPY . /go/src/github.com/Luzifer/ots WORKDIR /go/src/github.com/Luzifer/ots RUN set -ex \ - && apk update && apk add \ + && apk --no-cache add \ curl \ git \ make \