Skip to content

Commit 0a7592a

Browse files
committed
Change template dir in 'extra' images
1 parent 41b2535 commit 0a7592a

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

alpine/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,7 @@ RUN apk --no-cache add py-pip \
179179
RUN sed -e 's/ *#.*$//' -e '/^ *$/d' /root/extra_packages.txt | \
180180
xargs tlmgr install \
181181
&& rm -f /root/extra_packages.txt
182-
ARG TEMPLATES_DIR=/.pandoc/templates
183-
184-
RUN mkdir -p ${TEMPLATES_DIR} && \
185-
ln -s /.pandoc /root/.pandoc
182+
ARG TEMPLATES_DIR=$XDG_DATA_HOME/pandoc
186183

187184
# eisvogel
188185
ARG EISVOGEL_REPO=https://raw.githubusercontent.com/Wandmalfarbe/pandoc-latex-template

ubuntu/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,7 @@ RUN sed -e 's/ *#.*$//' -e '/^ *$/d' /root/extra_packages.txt | \
198198
# the templates and packages can be accessed by root and a
199199
# non-existent `--user`
200200
#
201-
ARG TEMPLATES_DIR=/.pandoc/templates
202-
203-
RUN mkdir -p ${TEMPLATES_DIR} && \
204-
ln -s /.pandoc /root/.pandoc
201+
ARG TEMPLATES_DIR=$XDG_DATA_HOME/pandoc
205202

206203
# eisvogel
207204
ARG EISVOGEL_REPO=https://raw.githubusercontent.com/Wandmalfarbe/pandoc-latex-template

0 commit comments

Comments
 (0)