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

Update gitianbuild docs for bionic #547

Open
marcus290 opened this issue Jul 1, 2019 · 3 comments
Open

Update gitianbuild docs for bionic #547

marcus290 opened this issue Jul 1, 2019 · 3 comments

Comments

@marcus290
Copy link
Contributor

Since ec6d86d, Gitian uses Ubuntu Bionic as the base virtual image instead of Trusty.

Need to update our docs for bionic instead of trusty.

Also might need to update the dependencies to create the bionic image. For example, I needed to follow these steps to add further dependencies to my debian host.

@mxaddict
Copy link
Contributor

mxaddict commented Jul 1, 2019

@marcus290 yes, we need to update the docs, but we are no longer using LXC we instead use docker

It's much easier to setup and no longer needs a VM as long as you can run ruby + docker on host machine.

@mxaddict
Copy link
Contributor

mxaddict commented Jul 1, 2019

Basically you do this:

sudo apt install docker ruby
git clone https://github.com/devrandom/gitian-builder.git
git clone https://github.com/navcoin/navcoin-core.git
cd gitian-builder
git checkout d36b85d4114cc055ed414cd872b24aabe494c394
bin/make-base-vm --docker --arch amd64 --suite bionic
USE_DOCKER=1 ./bin/gbuild -j<threads> --commit navcoin-core=<branch> --url navcoin-core=<repo_url> ../navcoin-core/contrib/gitian-descriptors/gitian-<os>.yml

@mxaddict
Copy link
Contributor

mxaddict commented Jul 1, 2019

Using LXC required a VM to run LXC vm inside.

The new process using docker can be run from host machine, so much easier to setup and less overhead requirement on performance.

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

No branches or pull requests

4 participants
@mxaddict @aguycalled @marcus290 and others