diff --git a/tools/lambda-promtail/Dockerfile b/tools/lambda-promtail/Dockerfile index 193404b210313..1699ab99d24c0 100644 --- a/tools/lambda-promtail/Dockerfile +++ b/tools/lambda-promtail/Dockerfile @@ -13,7 +13,7 @@ RUN ls -al 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" ]