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

     1  FROM debian:latest
     2  
     3  RUN apt update && \
     4      apt install -y openssl golang
     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"]