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

Error trying to run the bot on a Raspberry Pi4 #1

Open
helpfulBrother opened this issue Nov 18, 2019 · 3 comments
Open

Error trying to run the bot on a Raspberry Pi4 #1

helpfulBrother opened this issue Nov 18, 2019 · 3 comments

Comments

@helpfulBrother
Copy link

This is what I see when attempting to run the bot using

sudo docker run -it --rm -v ./workingDir --name=auctionBidder --env NETWORK=ropsten hydroprotocolio/liquidation_bot:latest /bin/main

standard_init_linux.go:211: exec user process caused "exec format error"

Any ideas?

@davidqhr
Copy link
Member

Oh, that's because the bot in the image is built with GOOS=linux and GOARCH=amd64. I think in your case, you need a build with GOARCH=arm. We can add a docker image with arm arch tomorrow. If you are in a hurry, you can try to build it yourself. Thanks.

@helpfulBrother
Copy link
Author

Oh I'll try that and let you know how I go, thanks.

@helpfulBrother
Copy link
Author

Couldn't work out how to rebuild it using GOARCH=arm, if you could supply an image for arm that would be great. Thanks!

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