don't hardcode absolute paths
This commit is contained in:
parent
bc734f6bd1
commit
150b4ae76b
1 changed files with 8 additions and 4 deletions
12
build-all
12
build-all
|
@ -3,7 +3,7 @@
|
|||
yes_retrieve() {
|
||||
local a="$1"
|
||||
shift || return
|
||||
podman run -v="$HOME/play":/play --rm --entrypoint /bin/busybox "$a" cp -- "$@" "/play/"
|
||||
podman run -v="play":/out --rm --entrypoint /bin/busybox "$a" cp -- "$@" "/out/"
|
||||
}
|
||||
|
||||
dbg_retrieve() {
|
||||
|
@ -14,9 +14,13 @@ dbg_retrieve() {
|
|||
}
|
||||
|
||||
: \
|
||||
&& podman build -t notwa-util ~/work/notwa-util \
|
||||
&& podman build -t cosmo ~/work/cosmo \
|
||||
&& podman build -t cosmo-kuroko ~/work/cosmo-kuroko \
|
||||
&& cd "$(readlink -f "$0")" \
|
||||
\
|
||||
&& [ -d out ] || mkdir out \
|
||||
\
|
||||
&& podman build -t notwa-util notwa-util \
|
||||
&& podman build -t cosmo cosmo \
|
||||
&& podman build -t cosmo-kuroko cosmo-kuroko \
|
||||
\
|
||||
&& dbg_retrieve cosmo-kuroko /bin/kuroko.com \
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue