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
Docker Integration #284
base: master
Are you sure you want to change the base?
Docker Integration #284
Conversation
9b79b31
to
5cc5515
Compare
Hi @TheLoneRonin, thank you for the update. We are using Travis CI in fact. It does not work for you because you specified OTP 23, which is not compatible with the current versions of the libraries. OTP 22 should work. As per the setup, I believe it's important to configure external storage (a volume/bind mount). Only using the container's writable layer has very limited use, even for tests. @tudorfil9 do you have any thoughts or developments to share? |
I agree, there should be a separate storage option. The container layer is very small. Have a look at this Arweave Docker Image from DockerHub. |
OTP 23.0 compiles Arweave on a fresh install of Ubuntu 20.04. I will update this PR with 22.2 and see if Travis works. In terms of the storage option. Agree absolutely I should document how to mount volumes. I think there should be two documentation options for volumes.
Furthermore, I should add snippets on how to mount it to a different drive... ie: using And of course, link to existing Docker documentation for reference purposes. |
5cc5515
to
a39afc8
Compare
@ldmberman, @tudorfil9, now I remember why I changed it from OTP 22.2... This bizarre error came up: https://travis-ci.org/github/TheLoneRonin/arweave/jobs/752828446 |
Hey @TheLoneRonin it looks like your key for otp version might not be right. Can you check your available versions and change the otp_release key to 22.2.4 for example ? https://docs.travis-ci.com/user/languages/erlang/#choosing-otp-releases-to-test-against |
a39afc8
to
c319115
Compare
@tudorfil9, yea, Travis is acting very weird. Not sure the best approach to resolving this. Then ontop of that we'd have to tackle the https://travis-ci.org/github/ArweaveTeam/arweave/jobs/752840013 |
Description
Adds a Dockerfile that builds and compiles Arweave.
Revmoes Travis CI build, see: G++ library linker issue with Travis CI #285
Provides Documentation in
README.md
to build, compile and develop Arweave with Docker.Notes
It may be a good idea to add other badges to the top of the repository. However, we may want other badges too ie: license, AR version etc.
We should investigate a way to resolve: G++ library linker issue with Travis CI #285