From cdf93ae2106f998a2245a3eee6814b1ae68781af Mon Sep 17 00:00:00 2001 From: Enrique Garcia Cota Date: Mon, 1 Jul 2024 13:57:12 +0200 Subject: [PATCH] fix(alpine): add --no-cache to apk add --- Dockerfile.apk | 2 +- alpine/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.apk b/Dockerfile.apk index f3a089ad..e13cd3f7 100644 --- a/Dockerfile.apk +++ b/Dockerfile.apk @@ -16,7 +16,7 @@ COPY kong.tar.gz /tmp/kong.tar.gz RUN set -ex; \ major_minor="$(echo "${KONG_VERSION%.*}" | tr -d '.')"; \ KONG_SHA256=$KONG_AMD64_SHA ; \ - apk add bash curl ca-certificates; \ + apk add --no-cache curl bash ca-certificates; \ if [ "$ASSET" = "remote" ] ; then \ curl -fL "https://packages.konghq.com/public/gateway-${major_minor}/alpine/any-version/main/x86_64/kong-${KONG_VERSION}.apk" -o /tmp/kong.tar.gz \ && echo "$KONG_SHA256 /tmp/kong.tar.gz" | sha256sum -c -; \ diff --git a/alpine/Dockerfile b/alpine/Dockerfile index f3a089ad..e13cd3f7 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -16,7 +16,7 @@ COPY kong.tar.gz /tmp/kong.tar.gz RUN set -ex; \ major_minor="$(echo "${KONG_VERSION%.*}" | tr -d '.')"; \ KONG_SHA256=$KONG_AMD64_SHA ; \ - apk add bash curl ca-certificates; \ + apk add --no-cache curl bash ca-certificates; \ if [ "$ASSET" = "remote" ] ; then \ curl -fL "https://packages.konghq.com/public/gateway-${major_minor}/alpine/any-version/main/x86_64/kong-${KONG_VERSION}.apk" -o /tmp/kong.tar.gz \ && echo "$KONG_SHA256 /tmp/kong.tar.gz" | sha256sum -c -; \