diff options
Diffstat (limited to 'texlive')
-rw-r--r-- | texlive/Dockerfile | 4 | ||||
-rwxr-xr-x | texlive/docker-entry.sh | 3 | ||||
-rwxr-xr-x | texlive/run.sh | 4 |
3 files changed, 9 insertions, 2 deletions
diff --git a/texlive/Dockerfile b/texlive/Dockerfile index e68f980..a3743b3 100644 --- a/texlive/Dockerfile +++ b/texlive/Dockerfile @@ -1,9 +1,9 @@ FROM texlive/texlive:latest -COPY ./feature-init/ /zharf/ RUN wget https://virastaran.net/wp-content/uploads/2014/01/IRFontPack-virastaran.net_.zip \ && unzip IRFontPack-virastaran.net_.zip \ && cd IR \ && mkdir -p /usr/share/fonts/truetype/IR \ && cp * /usr/share/fonts/truetype/IR/ \ && fc-cache -fv -RUN cd /zharf && make +COPY ./docker-entry.sh /docker-entry.sh +ENTRYPOINT ["/docker-entry.sh"] diff --git a/texlive/docker-entry.sh b/texlive/docker-entry.sh new file mode 100755 index 0000000..744d0ab --- /dev/null +++ b/texlive/docker-entry.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +cd /zharf && make diff --git a/texlive/run.sh b/texlive/run.sh new file mode 100755 index 0000000..9cec9f8 --- /dev/null +++ b/texlive/run.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +docker build -t zharf_docs . +docker run --volume /home/devi/zharf/docs/documentations.git/feature-init/:/zharf -t zharf_docs |