From 42c04478242acfeb2c7e647bf54533db9bbbbef3 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Fri, 23 Oct 2020 20:39:09 +0000 Subject: [PATCH] Use absolute path for Go executable --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index af3025d..9b3ea77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN curl -L -O https://dl.google.com/go/go1.15.3.linux-amd64.tar.gz && \ rm -f go1.15.3.linux-amd64.tar.gz # Install OpenCV (via GoCV bindings) -RUN go get -u -d gocv.io/x/gocv && \ +RUN /usr/local/bin/go get -u -d gocv.io/x/gocv && \ cd /home/coder/go/src/gocv.io/x/gocv && \ make install && \ make clean