From c22bdf9c97e6ab50eb082ef1f6644ac558eef4fd Mon Sep 17 00:00:00 2001 From: a Date: Mon, 9 Sep 2024 15:15:09 -0500 Subject: [PATCH] noot --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fcf0112..84b99a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,10 @@ COPY . /go/src/pprofweb/ WORKDIR /go/src/pprofweb RUN go build -o server ./pkg/webserver -FROM gcr.io/distroless/base-debian11:latest AS run +FROM debian:12 AS run +RUN apt-get update && apt-get install -y graphviz libgvc6 libcgraph6 libltdl7 libxdot4 libcdt5 libpathplan4 libexpat1 zlib1g + COPY --from=builder /go/src/pprofweb/server /pprofweb -COPY --from=deb_extractor /dpkg / # Configure dot plugins RUN ["dot", "-c"]