12c4b5b16f
This is just the final bit required to make sure the vagrant and non-vagrant paths can work happily together. It's mostly minor fixes, though the most major change which also affects vagrant is that we now sync to the root home dir, rather than ~vagrant. Closes: #524 Approved by: cgwalters |
||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
setup.yml |
Developing using Docker + Vagrant
The current tooling here is oriented towards doing builds inside a CentOS 7 pet container, with Vagrant on the host.
You should share the git working directory with the c7 container.
Assuming you have git repositories stored in /srv
, something like:
docker run --name c7dev --privileged -v /srv:/srv --net=host -ti centos bash
You can start the Vagrant box. To work around "fuse-sshfs" not being built into the Vagrant box, do something like this:
vagrant up ; vagrant provision; vagrant halt; vagrant up
Now, once you do a build inside the c7dev container, like:
./autogen.sh CFLAGS='-ggdb -O0' --prefix=/usr --libdir=/usr/lib64 --enable-installed-tests --enable-gtk-doc
To sync over and install the built binaries:
make vmsync
You may also want to use vmcheck
, like this:
make vmoverlay && make vmcheck