update dockerfile
Some checks failed
commit-tag / commit-tag-image (push) Failing after 38s

This commit is contained in:
a 2025-02-26 23:45:58 -06:00
parent 42cbdd3feb
commit 3bd1fec3e5
No known key found for this signature in database
GPG Key ID: 2F22877AA4DFDADB

View File

@ -1,12 +1,5 @@
# Extract graphviz and dependencies
FROM golang:1.22-bullseye AS deb_extractor
RUN cd /tmp && \
apt-get update && apt-get download \
graphviz libgvc6 libcgraph6 libltdl7 libxdot4 libcdt5 libpathplan4 libexpat1 zlib1g && \
mkdir /dpkg && \
for deb in *.deb; do dpkg --extract $deb /dpkg || exit 10; done
FROM golang:1.22-bullseye AS builder
FROM golang:1.24-bookworm AS builder
COPY . /go/src/pprofweb/
WORKDIR /go/src/pprofweb
RUN go build -o server ./pkg/webserver