Store the base-image in / not /vagrant; Symlink bocker to /usr/bin

This commit is contained in:
Peter Wilmott 2015-07-20 20:34:48 +01:00
parent 302f5a8f85
commit b2844d73a0

4
Vagrantfile vendored
View File

@ -12,8 +12,6 @@ pip install git+https://github.com/larsks/undocker
systemctl start docker.service
docker pull busybox
docker save busybox | undocker -o base-image
rm -rf /vagrant/base-image
mv base-image /vagrant || true
git clone https://github.com/karelzak/util-linux.git
cd util-linux
@ -23,6 +21,8 @@ git checkout tags/v2.25.2
make
mv unshare /usr/bin/unshare
cd ..
ln -s /vagrant/bocker /usr/bin/bocker
) 2>&1
SCRIPT