Use absolute path for Go executable
This commit is contained in:
parent
55e50e6036
commit
42c0447824
@ -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
|
rm -f go1.15.3.linux-amd64.tar.gz
|
||||||
|
|
||||||
# Install OpenCV (via GoCV bindings)
|
# 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 && \
|
cd /home/coder/go/src/gocv.io/x/gocv && \
|
||||||
make install && \
|
make install && \
|
||||||
make clean
|
make clean
|
||||||
|
Loading…
Reference in New Issue
Block a user