Update README.md

This commit is contained in:
Bo-Yi Wu 2019-05-09 14:16:02 +08:00 committed by GitHub
parent 29018dba3a
commit 3505455bb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,16 +71,7 @@ $ go build -v -a -tags netgo -o release/linux/amd64/drone-ssh .
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 $ make docker
docker build -t appleboy/drone-ssh .
```
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:
```
docker: Error response from daemon: Container command
'/bin/drone-ssh' not found or does not exist..
``` ```
## Usage ## Usage