mirror of https://github.com/knative/docs.git
parent
1720b4941b
commit
c80d4ab08f
|
@ -26,7 +26,7 @@ You must meet the following requirements to complete this sample:
|
|||
|
||||
**Tip**: You can clone the [Knatve/docs repo](https://github.com/knative/docs)
|
||||
and then modify the source files. Alternatively, learn more by manually creating
|
||||
the files youself.
|
||||
the files yourself.
|
||||
|
||||
## Creating and configuring the sample code
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Use the offical Golang image to create a build artifact.
|
||||
# Use the official Golang image to create a build artifact.
|
||||
# This is based on Debian and sets the GOPATH to /go.
|
||||
# https://hub.docker.com/_/golang
|
||||
FROM golang:1.12 as builder
|
||||
|
|
|
@ -70,7 +70,7 @@ cd knative-docs/docs/serving/samples/hello-world/helloworld-r
|
|||
1. Create a new file named `Dockerfile` and copy the code block below into it.
|
||||
|
||||
```docker
|
||||
# Use the offical Golang image to create a build artifact.
|
||||
# Use the official Golang image to create a build artifact.
|
||||
# This is based on Debian and sets the GOPATH to /go.
|
||||
# https://hub.docker.com/_/golang
|
||||
FROM golang:1.12 as builder
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Use the offical Golang image to create a build artifact.
|
||||
# Use the official Golang image to create a build artifact.
|
||||
# This is based on Debian and sets the GOPATH to /go.
|
||||
# https://hub.docker.com/_/golang
|
||||
FROM golang:1.12 as builder
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Use the offical Golang image to create a build artifact.
|
||||
# Use the official Golang image to create a build artifact.
|
||||
# This is based on Debian and sets the GOPATH to /go.
|
||||
# https://hub.docker.com/_/golang
|
||||
FROM golang as builder
|
||||
|
|
|
@ -89,7 +89,7 @@ cd knative-docs/docs/serving/samples/secrets-go
|
|||
[Deploying Go servers with Docker](https://blog.golang.org/docker).
|
||||
|
||||
```docker
|
||||
# Use the offical Golang image to create a build artifact.
|
||||
# Use the official Golang image to create a build artifact.
|
||||
# This is based on Debian and sets the GOPATH to /go.
|
||||
# https://hub.docker.com/_/golang
|
||||
FROM golang as builder
|
||||
|
|
Loading…
Reference in New Issue