mirror of
https://github.com/thegeeklab/wp-gitea-release.git
synced 2024-11-24 13:00:40 +00:00
commit
d4d67a0cde
@ -20,7 +20,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
|
||||||
@ -28,7 +28,7 @@ docker build --rm=true -t plugins/github-release .
|
|||||||
```
|
```
|
||||||
|
|
||||||
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