Closed mitra42 closed 4 years ago
Dockerfile extracts ....
FROM ubuntu:rolling
...
ENV GOPATH=/go
ENV PATH=${GOPATH}/bin:${PATH}
...
RUN apt-get -y install golang
...
RUN cd ${GOPATH} \
GO111MODULE=on go get -u -v github.com/ipfs/ipfs-update \
&& ipfs-update install latest \
|| echo "ERROR: ===== ipfs-update failing again, will run without enabling IPFS ====="
Suggestions elsewhere in https://github.com/micro/go-micro/issues/748 suggest you need Go 1.13 to solve this (the other suggestions there didn't work) BUT ubuntu is still on 1.12,
Is there a solution or is ipfs-update no longer docker compatible till ubuntu ups the Go version to 1.13 ?
Don't pass -u
to go get
. That tells go to update the dependencies (which won't work on go 1.12).
Thanks - that fixed it
ipfs-update is failing again in dockers .... symptom is a line like
during the go get of ipfs-update.
I'll post more details below ....