mirror of
https://github.com/thegeeklab/wp-s3-action.git
synced 2024-11-22 01:00:40 +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