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"]