docker-compose build sfu failed, undefined: webrtc.Track
echoisles opened this issue · comments
environment.
- ion version: 029e44c
- docker info:
- Client: Docker Engine - Community
- Version: 19.03.13
- API version: 1.40
- OS/Arch: linux/amd64
docker-compose build sfu
...
...
150Step 9/15 : RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /sfu .
151---> Running in 54e06b35f4bd
152# github.com/pion/ion-sfu/pkg
153/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/buffer.go:66:23: undefined: webrtc.Track
154/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/receiver.go:23:11: undefined: webrtc.Track
155/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/receiver.go:31:42: undefined: webrtc.Track
156/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/receiver.go:40:18: undefined: webrtc.Track
157/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/receiver.go:53:61: undefined: webrtc.Track
158/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/receiver.go:136:35: undefined: webrtc.Track
159/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/router.go:29:21: undefined: webrtc.Track
160/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/sender.go:26:11: undefined: webrtc.Track
161/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/simulcastsender.go:25:18: undefined: webrtc.Track
162/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/subscriber.go:30:23: undefined: webrtc.Track
163/go/pkg/mod/github.com/pion/ion-sfu@v1.5.1/pkg/receiver.go:136:35: too many errors
164# github.com/coreos/etcd/clientv3/balancer/resolver/endpoint
165/go/pkg/mod/github.com/coreos/etcd@v3.3.25+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:114:78: undefined: resolver.BuildOption
166/go/pkg/mod/github.com/coreos/etcd@v3.3.25+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:182:31: undefined: resolver.ResolveNowOption
167# github.com/coreos/etcd/clientv3/balancer/picker
168/go/pkg/mod/github.com/coreos/etcd@v3.3.25+incompatible/clientv3/balancer/picker/err.go:37:44: undefined: balancer.PickOptions
169/go/pkg/mod/github.com/coreos/etcd@v3.3.25+incompatible/clientv3/balancer/picker/roundrobin_balanced.go:55:54: undefined: balancer.PickOptions
170The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /sfu .' returned a non-zero code: 2
171{"exitCode":8, "message":"docker build failed or timeout[2]"}