From f1175de4a085ed748ad6deb5031fac52f160f0fc Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 24 Jan 2022 09:43:05 +0330 Subject: update and fix to build docs --- texlive/Dockerfile | 4 ++-- texlive/docker-entry.sh | 3 +++ texlive/run.sh | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100755 texlive/docker-entry.sh create mode 100755 texlive/run.sh (limited to 'texlive') 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 -- cgit v1.2.3