github.com/nathants/docker-trace@v0.0.0-20220831131939-668bc05a257b/examples/go-web/Dockerfile.alpine (about)

     1  FROM alpine:latest
     2  
     3  RUN apk update && \
     4      apk add go openssl
     5  
     6  RUN openssl req -x509 -nodes -newkey rsa:4096 -keyout ssl.key -out ssl.crt -days 9999 -subj "/CN=localhost/O=Fake Name/C=US"
     7  
     8  COPY main.go /
     9  
    10  RUN go build main.go
    11  
    12  CMD ["./main"]