diff --git a/bin/cli b/bin/cli index ab1f77e..48690f7 100755 --- a/bin/cli +++ b/bin/cli @@ -10,13 +10,13 @@ default: run @run: podman run -ti --rm {{image}} -# run (or attach to) a perisent container {{n}} +# run (or attach to) a persistent container {{n}} persist: #!/bin/sh if [ $(podman ps --all --filter name="{{n}}" -q | wc -l) -gt 0 ]; then podman start -i -a {{n}} else - podman run -ti --name {{n}} ghcr.io/jswank/alpine-cli:latest + podman run -ti --name {{n}} {{image}}{ fi # remove the persistent image