diff --git a/tools/lambda-promtail/Dockerfile b/tools/lambda-promtail/Dockerfile index 3d6042d61a588..b23cc1f0c42bc 100644 --- a/tools/lambda-promtail/Dockerfile +++ b/tools/lambda-promtail/Dockerfile @@ -11,7 +11,7 @@ RUN apk update && apk upgrade && \ RUN go mod download RUN go build -o /main -tags lambda.norpc -ldflags="-s -w" lambda-promtail/*.go # copy artifacts to a clean image -FROM public.ecr.aws/lambda/provided:al2 -RUN yum -y update openssl-libs ca-certificates +FROM public.ecr.aws/lambda/provided:al2023 +RUN dnf -y upgrade openssl-libs ca-certificates COPY --from=build-image /main /main ENTRYPOINT [ "/main" ]