tomfoolery
This commit is contained in:
parent
22f0ec9fa9
commit
4fda9c2767
1 changed files with 16 additions and 3 deletions
19
build-all
19
build-all
|
@ -39,17 +39,30 @@ build() { : \
|
|||
|
||||
build_simple() { : \
|
||||
&& for f in simple/*.Dockerfile \
|
||||
;do : \
|
||||
&& t="${f%.*}" t=${t##*/} \
|
||||
;do t="${f%.*}" t=${t##*/} \
|
||||
&& announce '(simple) packaging' "$t" \
|
||||
&& podman build -t "$t" -f "$f" simple \
|
||||
|| return \
|
||||
;done \
|
||||
;}
|
||||
|
||||
prep() { : \
|
||||
&& [ "$(whoami)" != podman ] \
|
||||
|| { : \
|
||||
&& mkdir -p ~/.config/containers/ \
|
||||
&& printf '%s\n' >~/.config/containers/storage.conf \
|
||||
'[storage]' 'driver = "overlay"' 'runroot = "$HOME/junk"' \
|
||||
'graphroot = "$HOME/junk"' 'rootless_storage_path = "$HOME/junk"' \
|
||||
'[storage.options]' 'additionalimagestores = [' ']' \
|
||||
'[storage.options.overlay]' 'mountopt = "nodev"' \
|
||||
'[storage.options.thinpool]' \
|
||||
;} \
|
||||
;}
|
||||
|
||||
: \
|
||||
&& me="$(readlink -f "$0")" && cd "${me%/*}" && { [ -d out ] || mkdir out ;} \
|
||||
;: \
|
||||
&& prep \
|
||||
\
|
||||
`# phase 1` \
|
||||
&& build notwa-util \
|
||||
`# phase 2` \
|
||||
|
|
Loading…
Reference in a new issue