github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/metrics-export/app/Dockerfile (about) 1 FROM golang:1.17.0 2 3 WORKDIR /go/src/app 4 5 COPY main.go ./main.go 6 7 RUN go mod init app 8 RUN go get -d ./ 9 RUN go build -o main . 10 11 RUN adduser --disabled-password --gecos --quiet pyroscope 12 USER pyroscope 13 14 CMD ["./main"]