aboutsummaryrefslogtreecommitdiffstats
path: root/texlive
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-01-24 06:13:05 +0000
committerterminaldweller <thabogre@gmail.com>2022-01-24 06:13:05 +0000
commitf1175de4a085ed748ad6deb5031fac52f160f0fc (patch)
tree3937a2657ed88357f1ed47169b47c760346d1179 /texlive
parentbuild docs (diff)
downloaddockerimages-f1175de4a085ed748ad6deb5031fac52f160f0fc.tar.gz
dockerimages-f1175de4a085ed748ad6deb5031fac52f160f0fc.zip
update and fix to build docs
Diffstat (limited to 'texlive')
-rw-r--r--texlive/Dockerfile4
-rwxr-xr-xtexlive/docker-entry.sh3
-rwxr-xr-xtexlive/run.sh4
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