Merge pull request #138 from tonglil/update-readme [skip ci]

fix typos [skip ci]
This commit is contained in:
Brad Rydzewski 2017-08-23 16:42:02 -07:00 committed by GitHub
commit c4b5d2834d

View File

@ -5,7 +5,7 @@
[![Go Report](https://goreportcard.com/badge/github.com/drone-plugins/drone-docker)](https://goreportcard.com/report/github.com/drone-plugins/drone-docker)
[![Join the chat at https://gitter.im/drone/drone](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/drone/drone)
Drone plugin can be used to build and publish Docker images to a container
Drone plugin to build and publish Docker images to a container
registry. For the usage information and a listing of the available options
please take a look at [the docs](http://plugins.drone.io/drone-plugins/drone-docker/).
@ -20,7 +20,7 @@ go test
## Docker
Build the docker image with the following commands:
Build the Docker image with the following commands:
```
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo
@ -28,7 +28,7 @@ docker build --rm=true -t plugins/docker .
```
Please note incorrectly building the image for the correct x64 linux and with
GCO disabled will result in an error when running the Docker image:
CGO disabled will result in an error when running the Docker image:
```
docker: Error response from daemon: Container command