19 lines
437 B
Plaintext
19 lines
437 B
Plaintext
# To build:
|
|
# docker build -f Dockerfile-test.gpu-cuda-10 -t gocv-test-gpu-cuda-10 .
|
|
#
|
|
# To run tests:
|
|
# docker run -it --rm --gpus all gocv-test-gpu-cuda-10
|
|
#
|
|
FROM ghcr.io/hybridgroup/opencv:4.9.0-gpu-cuda-10 AS gocv-gpu-test-cuda-10
|
|
|
|
ENV GOPATH /go
|
|
ENV PATH="${PATH}:/go/bin"
|
|
|
|
COPY . /go/src/gocv.io/x/gocv/
|
|
|
|
WORKDIR /go/src/gocv.io/x/gocv
|
|
|
|
RUN go install github.com/rakyll/gotest@latest
|
|
|
|
ENTRYPOINT ["gotest", "-v", "./cuda/..."]
|