Use golang:alpine instead of golang for example Dockerfile. (#572)

* Use golang:alpine instead of golang for build-private-repo-go Dockerfile.

* wording tweaks
This commit is contained in:
Guang Ya Liu 2018-11-28 05:38:22 +08:00 committed by Knative Prow Robot
parent 33b7fbc9f7
commit e57450a66b
1 changed files with 4 additions and 1 deletions

View File

@ -190,7 +190,10 @@ The sample code is in a private Github repository consisting of two files.
1. `Dockerfile`
```Dockerfile
FROM golang
# Use golang:alpine to optimize the image size.
# See https://hub.docker.com/_/golang/ for more information
# about the difference between golang and golang:alpine.
FROM golang:alpine
ENV GOPATH /go