26 lines
394 B
Docker
26 lines
394 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 \
|
||
$@
|
||
}
|