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

13 lines
249 B
Docker
Raw Normal View History

2021-01-17 18:07:37 +00:00
# to build this docker image:
# docker build .
2022-01-03 18:21:35 +00:00
FROM gocv/opencv:4.5.4
2019-12-18 23:08:07 +00:00
ENV GOPATH /go
2020-09-06 12:53:53 +00:00
2021-01-17 18:07:37 +00:00
COPY . /go/src/gocv.io/x/gocv/
2020-09-06 12:53:53 +00:00
2021-01-17 18:07:37 +00:00
WORKDIR /go/src/gocv.io/x/gocv
RUN go build -tags example -o /build/gocv_version -i ./cmd/version/
2020-09-06 12:53:53 +00:00
2021-01-17 18:07:37 +00:00
CMD ["/build/gocv_version"]