36 lines
553 B
Docker
36 lines
553 B
Docker
# Docker function definitions
|
||
|
||
function speedtest() {
|
||
docker run --rm tianon/speedtest
|
||
}
|
||
|
||
function vobsub2srt() {
|
||
docker run \
|
||
--rm \
|
||
-v $PWD:/data \
|
||
-u $(id -u) \
|
||
sbruder/vobsub2srt \
|
||
--blacklist '„“”|’/\`_~<>' \
|
||
$@
|
||
}
|
||
|
||
function aucdtect() {
|
||
docker run \
|
||
--rm \
|
||
-v "$PWD:/home/aucdtect/:ro" \
|
||
-e uid=$(id -u) \
|
||
-e gid=$(id -g) \
|
||
sbruder/aucdtect \
|
||
$@
|
||
}
|
||
|
||
function unrar () {
|
||
docker run \
|
||
--rm \
|
||
-v "$PWD:/data" \
|
||
-w /data \
|
||
-u $(id -u) \
|
||
r.sbruder.de/unrar \
|
||
$@
|
||
}
|