robocar-steering/vendor/gocv.io/x/gocv/Dockerfile

13 lines
249 B
Docker
Raw Normal View History

2022-08-21 20:31:19 +00:00
# to build this docker image:
# docker build .
FROM gocv/opencv:4.6.0
ENV GOPATH /go
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/
CMD ["/build/gocv_version"]