an attempt at a bip container build
```shell sudo mkosi -d fedora --hostname image sudo systemd-nspawn \ --bind-ro=/etc/passwd \ --bind-ro=/etc/shadow \ --bind-ro=/etc/group \ --bind=/home \ -i $(pwd)/image.raw \ -u $(id -u) \ -a ``` Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
commit
e41a2e81ae
2 changed files with 11 additions and 0 deletions
0
mkosi.cache/.gitkeep
Normal file
0
mkosi.cache/.gitkeep
Normal file
11
mkosi.default
Normal file
11
mkosi.default
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Distribution]
|
||||
Distribution=fedora
|
||||
Release=28
|
||||
|
||||
[Output]
|
||||
Format=raw_squashfs
|
||||
#Bootable=yes
|
||||
|
||||
[Packages]
|
||||
Packages=bip
|
||||
#BuildPackages=make gcc libcurl-devel
|
Reference in a new issue