Skip to content

Commit 574f5ac

Browse files
use centos based docker image
1 parent e5c3443 commit 574f5ac

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

tools/genpdf.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#/bin/bash
22

3-
DATA_DIR="$(cd "$(dirname "${0}")" && pwd)"
4-
docker run -v ${DATA_DIR}:/data --rm -it trivadis/mktools bash -c "cd /data; ./genpdf-in-container.sh"
3+
DATA_DIR="$(cd "$(dirname "${0}")/.." && pwd)"
4+
docker run -v ${DATA_DIR}:/data --rm -it trivadis/mktools bash -c "cd /data; ./tools/genpdf-in-container.sh"

tools/gh-deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#/bin/bash
22

3-
DATA_DIR="$(cd "$(dirname "${0}")" && pwd)"
3+
DATA_DIR="$(cd "$(dirname "${0}")/.." && pwd)"
44
docker run -v ${DATA_DIR}:/data -p 8000:8000 --rm -it trivadis/mktools bash -c "cd /data; mkdocs gh-deploy"

tools/interactive.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#/bin/bash
2+
3+
DATA_DIR="$(cd "$(dirname "${0}")/.." && pwd)"
4+
docker run -v ${DATA_DIR}:/data -p 8000:8000 --rm -it trivadis/mktools bash

tools/serve.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#/bin/bash
22

3-
DATA_DIR="$(cd "$(dirname "${0}")" && pwd)"
3+
DATA_DIR="$(cd "$(dirname "${0}")/.." && pwd)"
44
docker run -v ${DATA_DIR}:/data -p 8000:8000 --rm -it trivadis/mktools bash -c "cd /data; mkdocs serve -a 0.0.0.0:8000"

0 commit comments

Comments
 (0)