How to build binary CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .
How to build image docker build -t example-scratch -f Dockerfile .
Run the container docker run -p 80:8080 -d example-scratch
Content type
Image
Digest
Size
2.4 MB
Last updated
over 8 years ago
docker pull cvando/http-to-https-golang