diff --git a/tools/lambda-promtail/Dockerfile b/tools/lambda-promtail/Dockerfile index b23cc1f0c42b..3eae20b376c6 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:al2023 -RUN dnf -y upgrade openssl-libs ca-certificates +FROM public.ecr.aws/lambda/provided:al2 +RUN yum -y update openssl-libs ca-certificates krb5-libs COPY --from=build-image /main /main ENTRYPOINT [ "/main" ]