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

13 lines
249 B
Docker
Raw Normal View History

# to build this docker image:
# docker build .
2021-12-24 15:53:47 +00:00
FROM gocv/opencv:4.5.4
2020-01-04 13:10:36 +00:00
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/
2020-01-04 13:10:36 +00:00
CMD ["/build/gocv_version"]