github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/hacks/metrics-comparison/golang/Dockerfile (about)

     1  FROM golang:1.15.6
     2  
     3  WORKDIR /go/src/app
     4  
     5  COPY main.go ./main.go
     6  
     7  RUN go get -d ./
     8  RUN go build -o main .
     9  
    10  RUN adduser --disabled-password --gecos --quiet pyroscope
    11  USER pyroscope
    12  
    13  CMD ["./main"]