2021-09-01 20:08:47 +00:00
|
|
|
# to build this docker image:
|
|
|
|
# docker build .
|
2024-04-02 17:24:34 +00:00
|
|
|
FROM ghcr.io/hybridgroup/opencv:4.9.0
|
2020-01-04 13:10:36 +00:00
|
|
|
|
|
|
|
ENV GOPATH /go
|
|
|
|
|
2021-09-01 20:08:47 +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/
|
2020-01-04 13:10:36 +00:00
|
|
|
|
2021-09-01 20:08:47 +00:00
|
|
|
CMD ["/build/gocv_version"]
|