diff --git a/src/alpine.dockerfile b/src/alpine.dockerfile index 482a2f6..b3f6f15 100644 --- a/src/alpine.dockerfile +++ b/src/alpine.dockerfile @@ -2,7 +2,7 @@ FROM alpine:latest AS deno ARG DENO_VERSION -RUN apk --update --no-cache add curl +RUN apk add -Uu --no-cache curl RUN curl -Ls https://github.com/denoland/deno/releases/download/${DENO_VERSION}/deno-$(arch)-unknown-linux-gnu.zip | unzip -pq - 'deno' > /tmp/deno FROM gcr.io/distroless/cc-debian12:latest AS cc diff --git a/src/distroless.dockerfile b/src/distroless.dockerfile index 1decc37..f77f66e 100644 --- a/src/distroless.dockerfile +++ b/src/distroless.dockerfile @@ -2,7 +2,7 @@ FROM alpine:latest AS deno ARG DENO_VERSION -RUN apk --update --no-cache add curl +RUN apk add -Uu --no-cache curl RUN curl -Ls https://github.com/denoland/deno/releases/download/${DENO_VERSION}/deno-$(arch)-unknown-linux-gnu.zip | unzip -pq - 'deno' > /tmp/deno FROM gcr.io/distroless/cc-debian12:latest AS cc