mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update
This commit is contained in:
parent
fb31400650
commit
248bac7760
@ -13,6 +13,7 @@ dockerfiles
|
||||
- [ ] cloudtunes
|
||||
- [ ] ffmpeg
|
||||
- [ ] freegeoip
|
||||
- [ ] gitlab
|
||||
- [ ] gitolite
|
||||
- [ ] hashcat
|
||||
- [ ] irc
|
||||
|
@ -7,6 +7,16 @@ webhook
|
||||
to easily create HTTP endpoints (hooks) on your server, which you can use to
|
||||
execute configured commands.
|
||||
|
||||
## Build Binary
|
||||
|
||||
To build a docker image from scratch, we need to build static linked binary.
|
||||
|
||||
```bash
|
||||
$ go get -d github.com/adnanh/webhook
|
||||
$ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -installsuffix cgo -ldflags '-s -extld ld -extldflags -static' -a -x -o webhook github.com/adnanh/webhook
|
||||
$ file webhook
|
||||
```
|
||||
|
||||
## Directory Tree
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user