Skip to content
Snippets Groups Projects
Commit 4ada83e9 authored by nimrod's avatar nimrod
Browse files

youtube-dl wrapper script using containers.

parent fc63a8ef
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
set -eu
if [ "${1:-}" = "-u" ]
then
exec podman image pull registry.shore.co.il/youtube-dl
fi
exec podman run \
-it \
--rm \
--userns keep-id \
-w "$PWD" \
-v "$PWD:$PWD" \
-v "$HOME/.cache:/tmp/.cache" \
registry.shore.co.il/youtube-dl \
"$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment