diff options
| author | ac79b0c6 <[email protected]> | 2022-05-15 21:29:20 +0800 |
|---|---|---|
| committer | ac79b0c6 <[email protected]> | 2022-05-15 21:29:20 +0800 |
| commit | ed392828920cc4e673444f0518ec7ea697bf80b0 (patch) | |
| tree | 8bcc89f5e235dc67e4558f6edb6c759fbd60ae9d /docker/run.sh | |
| parent | 36cd0cb9de33c00700fa35e6c6ff55d8746b8935 (diff) | |
update
Diffstat (limited to 'docker/run.sh')
| -rw-r--r-- | docker/run.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/run.sh b/docker/run.sh new file mode 100644 index 0000000..aa8aa1e --- /dev/null +++ b/docker/run.sh @@ -0,0 +1,6 @@ +NAME="mkvtool" +[ "$(docker images | grep ${NAME})" ] || docker build -t ${NAME} $(dirname "$0") +FONT_DIR="/usr/share/fonts/truetype" # Change this to your font directory +CACHE_DIR="${HOME}/.mkvtool/caches" # Change this to your cache directory +OTHER_DIR="" # Change this to your other directory for example: -v aaa:bbb +docker run --rm -it -v ${FONT_DIR}:/fonts -v ${CACHE_DIR}:/root/.mkvtool/caches ${OTHER_DIR} ${NAME} |
