mirror of
https://github.com/p8952/bocker.git
synced 2025-11-09 17:53:59 +01:00
Store the base-image in / not /vagrant; Symlink bocker to /usr/bin
This commit is contained in:
parent
302f5a8f85
commit
b2844d73a0
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user