add pull recipe

This commit is contained in:
Jason Swank 2023-04-22 14:50:15 -04:00
parent e069b580b7
commit b3ad8f2b0a

View File

@ -33,6 +33,10 @@ persist:
podman run -ti --userns=keep-id --name {{n}} {{image}}
fi
# Pull the latest version of the container
@pull:
podman pull {{image}} >/dev/null 2>&1
# Remove the persistent container
@clean:
podman rm -f {{n}} >/dev/null 2>&1