From aade1f2854f05e8884cc8c14c8ef3ad280d490b5 Mon Sep 17 00:00:00 2001 From: jiangpengcheng Date: Thu, 23 May 2024 08:33:16 +0800 Subject: [PATCH] Update alpine to 3.20 to fix CVEs --- images/pulsar-functions-base-runner/Dockerfile | 2 +- images/pulsar-functions-base-runner/pulsarctl.Dockerfile | 2 +- operator.Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/images/pulsar-functions-base-runner/Dockerfile b/images/pulsar-functions-base-runner/Dockerfile index 03e1a077..d9d4b532 100644 --- a/images/pulsar-functions-base-runner/Dockerfile +++ b/images/pulsar-functions-base-runner/Dockerfile @@ -1,7 +1,7 @@ ARG PULSAR_IMAGE ARG PULSAR_IMAGE_TAG FROM ${PULSAR_IMAGE}:${PULSAR_IMAGE_TAG} as pulsar -FROM alpine:3.19 as functions-runner +FROM alpine:3.20 as functions-runner ENV GID=10001 ENV UID=10000 diff --git a/images/pulsar-functions-base-runner/pulsarctl.Dockerfile b/images/pulsar-functions-base-runner/pulsarctl.Dockerfile index 123cba40..564a10cf 100644 --- a/images/pulsar-functions-base-runner/pulsarctl.Dockerfile +++ b/images/pulsar-functions-base-runner/pulsarctl.Dockerfile @@ -1,7 +1,7 @@ ARG PULSAR_IMAGE ARG PULSAR_IMAGE_TAG FROM ${PULSAR_IMAGE}:${PULSAR_IMAGE_TAG} as pulsar -FROM alpine:3.19 as functions-runner +FROM alpine:3.20 as functions-runner ENV GID=10001 ENV UID=10000 diff --git a/operator.Dockerfile b/operator.Dockerfile index 0e51ef60..60e502cf 100644 --- a/operator.Dockerfile +++ b/operator.Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.19 +FROM alpine:3.20 RUN apk add tzdata --no-cache RUN apk upgrade --no-cache