github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/golang-pull/file/Dockerfile (about) 1 FROM golang:1.18.3 2 3 WORKDIR /go/src/app 4 5 COPY main.go ./main.go 6 7 RUN go mod init github.com/pyroscope-io/pyroscope/examples/golang-pull/file 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"]