faryon93 / hlswatch

keep track of hls viewer stats
GNU General Public License v3.0
49 stars 9 forks source link

Dockerfile Building Problem #6

Open aminhusni opened 5 years ago

aminhusni commented 5 years ago
Step 5/18 : WORKDIR /go/src/github.com/faryon93/hlswatch
 ---> Running in f24c57976c4f
Removing intermediate container f24c57976c4f
 ---> ba967e993ae8
Step 6/18 : ADD ./ ./
 ---> 4eebf9040f52
Step 7/18 : RUN go get github.com/faryon93/hlswatch &&     go build -v -o /tmp/hlswatch .
 ---> Running in c700b50845ea
package github.com/influxdata/influxdb/client/v2: cannot find package "github.com/influxdata/influxdb/client/v2" in any of:
        /usr/local/go/src/github.com/influxdata/influxdb/client/v2 (from $GOROOT)
        /go/src/github.com/influxdata/influxdb/client/v2 (from $GOPATH)
The command '/bin/sh -c go get github.com/faryon93/hlswatch &&     go build -v -o /tmp/hlswatch .' returned a non-zero code: 1
faryon93 commented 5 years ago

You fixed this in your PR (#11) as well. Thank you for that :) Influx changed the import path.

Maybe its time to start using go modules now.