Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipfs-update in dockerfile failing - cannot load crypto/ed25519 #114

Closed
mitra42 opened this issue Jan 4, 2020 · 4 comments
Closed

ipfs-update in dockerfile failing - cannot load crypto/ed25519 #114

mitra42 opened this issue Jan 4, 2020 · 4 comments

Comments

@mitra42
Copy link

mitra42 commented Jan 4, 2020

ipfs-update is failing again in dockers .... symptom is a line like

build github.com/ipfs/ipfs-update: cannot load crypto/ed25519: cannot find module providing package crypto/ed25519

during the go get of ipfs-update.

I'll post more details below ....

@mitra42
Copy link
Author

mitra42 commented Jan 4, 2020

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 ====="

@mitra42
Copy link
Author

mitra42 commented Jan 4, 2020

Suggestions elsewhere in micro/go-micro#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 ?

@mitra42 mitra42 changed the title ipfs-update failing cannot load crypto/ed25519 ipfs-update in dockerfile failing - cannot load crypto/ed25519 Jan 4, 2020
@Stebalien
Copy link
Member

Don't pass -u to go get. That tells go to update the dependencies (which won't work on go 1.12).

@mitra42
Copy link
Author

mitra42 commented Jan 6, 2020

Thanks - that fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants