This commit is contained in:
parent
ce3546e1e4
commit
7144acb3c8
@ -1,12 +1,12 @@
|
||||
# Extract graphviz and dependencies
|
||||
FROM golang:1.19.1-bullseye AS deb_extractor
|
||||
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.19.1-bullseye AS builder
|
||||
FROM golang:1.22-bullseye AS builder
|
||||
COPY . /go/src/pprofweb/
|
||||
WORKDIR /go/src/pprofweb
|
||||
RUN go build -o server ./webserver
|
||||
|
Loading…
Reference in New Issue
Block a user