mirror of
https://github.com/thegeeklab/drone-s3-sync.git
synced 2024-11-29 05:40:36 +00:00
commit
7f3e6154e8
@ -17,7 +17,7 @@ go test
|
|||||||
|
|
||||||
## Docker
|
## 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
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo
|
||||||
@ -25,7 +25,7 @@ docker build --rm=true -t plugins/s3-sync .
|
|||||||
```
|
```
|
||||||
|
|
||||||
Please note incorrectly building the image for the correct x64 linux and with
|
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
|
docker: Error response from daemon: Container command
|
||||||
|
Loading…
Reference in New Issue
Block a user