2021-09-02 10:03:56 +00:00
|
|
|
# to build this docker image:
|
|
|
|
# docker build .
|
2022-06-09 10:30:53 +00:00
|
|
|
FROM gocv/opencv:4.6.0
|
2019-12-29 17:39:08 +00:00
|
|
|
|
|
|
|
ENV GOPATH /go
|
|
|
|
|
2021-09-02 10:03:56 +00:00
|
|
|
COPY . /go/src/gocv.io/x/gocv/
|
|
|
|
|
|
|
|
WORKDIR /go/src/gocv.io/x/gocv
|
|
|
|
RUN go build -tags example -o /build/gocv_version -i ./cmd/version/
|
2019-12-29 17:39:08 +00:00
|
|
|
|
2021-09-02 10:03:56 +00:00
|
|
|
CMD ["/build/gocv_version"]
|