mirror of https://github.com/knative/docs.git
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:
parent
33b7fbc9f7
commit
e57450a66b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue