mirror of
https://github.com/p8952/bocker.git
synced 2025-11-09 22:43: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
|
systemctl start docker.service
|
||||||
docker pull busybox
|
docker pull busybox
|
||||||
docker save busybox | undocker -o base-image
|
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
|
git clone https://github.com/karelzak/util-linux.git
|
||||||
cd util-linux
|
cd util-linux
|
||||||
@ -23,6 +21,8 @@ git checkout tags/v2.25.2
|
|||||||
make
|
make
|
||||||
mv unshare /usr/bin/unshare
|
mv unshare /usr/bin/unshare
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
ln -s /vagrant/bocker /usr/bin/bocker
|
||||||
) 2>&1
|
) 2>&1
|
||||||
SCRIPT
|
SCRIPT
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user