Skip to content

Commit

Permalink
fix(alpine): add --no-cache and --virtual to apk
Browse files Browse the repository at this point in the history
  • Loading branch information
kikito committed Jul 1, 2024
1 parent a8a059e commit a90200a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.apk
Original file line number Diff line number Diff line change
Expand Up @@ -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 --virtual bash curl 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 -; \
Expand Down

0 comments on commit a90200a

Please sign in to comment.