We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 891b5c3 commit 4808c73Copy full SHA for 4808c73
gocv.Dockerfile
@@ -24,7 +24,7 @@ ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
24
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
25
WORKDIR $GOPATH
26
27
-RUN go get -u -d gocv.io/x/gocv \
+RUN go get -u -d gocv.io/x/gocv@v${GOCV_VERSION} \
28
&& cd $GOPATH/pkg/mod/gocv.io/x/gocv@v${GOCV_VERSION}/cmd/version \
29
&& go build -o /usr/bin/gocv_version -i main.go
30
0 commit comments