Use absolute path for Go executable

This commit is contained in:
Steven Polley 2020-10-23 20:39:09 +00:00
parent 55e50e6036
commit 42c0447824

View File

@ -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