mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-20 22:46:32 +02:00
add docker build to README, fixes #12
This commit is contained in:
parent
563658bf59
commit
5d5df71aca
18
README.md
18
README.md
|
@ -11,8 +11,11 @@ information on the API of the signaling server.
|
|||
|
||||
## Building
|
||||
|
||||
You will need at least go 1.6 to build the signaling server. All other
|
||||
dependencies are fetched automatically while building.
|
||||
### Requirements
|
||||
|
||||
* Go >= 1.6
|
||||
* curl
|
||||
* python3
|
||||
|
||||
$ make build
|
||||
|
||||
|
@ -22,6 +25,17 @@ or on FreeBSD
|
|||
|
||||
Afterwards the binary is created as `bin/signaling`.
|
||||
|
||||
### Build with docker
|
||||
|
||||
```bash
|
||||
docker run --rm -it -v $PWD:/host --name golang golang:latest
|
||||
apt-get update && apt-get -y install python3
|
||||
go get github.com/strukturag/nextcloud-spreed-signaling
|
||||
cd src/github.com/strukturag/nextcloud-spreed-signaling/
|
||||
make build
|
||||
chown -R "$(stat -c %u /host):$(stat -c %g /host)" bin
|
||||
cp -r bin /host/
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
|
|
Loading…
Reference in a new issue