Closed yutiansut closed 5 years ago
while using apt-get install go-1.11-golang
go path are in
/usr/lib/go-1.11/bin
not
/root/go
here is the docker run -it nvidia/cuda: latest
root@fe9b9e1ef3e4:/usr/lib/go-1.11/bin# ./go version
go version go1.11.5 linux/amd64
root@fe9b9e1ef3e4:/usr/lib/go-1.11/bin#
oh i may find the question
in https://github.com/uber/aresdb/blob/master/docker/Dockerfile#L6
ENV PATH=${GOPATH}/bin:/usr/lib/go-1.9/bin:/usr/local/cmake/bin:${PATH}
and in https://github.com/uber/aresdb/blob/master/docker/Dockerfile#L15
RUN apt-get install -y golang-1.11-go git npm wget
here path is go 1.9 and in fact installed 1.11 so that path gone wrong
docker build error in last step RUN make aresd -j