2020-04-21 18:31:42 +00:00
|
|
|
FROM alpine:latest
|
2020-04-20 17:58:25 +00:00
|
|
|
MAINTAINER luki42
|
|
|
|
|
2020-04-21 18:31:42 +00:00
|
|
|
ENV PATH=/usr/local/texlive/bin/x86_64-linuxmusl:$PATH
|
2020-04-20 17:58:25 +00:00
|
|
|
|
|
|
|
COPY ./texlive-profile.txt /tmp/
|
|
|
|
|
2020-04-21 18:31:42 +00:00
|
|
|
RUN apk add --no-cache perl wget && \
|
2020-04-20 17:58:25 +00:00
|
|
|
\
|
|
|
|
# Install texlive
|
2020-04-21 18:31:42 +00:00
|
|
|
echo "downloading tlmgr" && \
|
2020-04-20 17:58:25 +00:00
|
|
|
wget -O /tmp/install-tl-unx.tar.gz http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
|
|
|
|
mkdir /tmp/install-tl && \
|
|
|
|
tar -xzf /tmp/install-tl-unx.tar.gz -C /tmp/install-tl --strip-components=1 && \
|
|
|
|
/tmp/install-tl/install-tl --profile=/tmp/texlive-profile.txt && \
|
|
|
|
\
|
|
|
|
# Clean up
|
2020-04-21 18:31:42 +00:00
|
|
|
rm -rf /tmp/* \
|
|
|
|
/var/tmp/*
|
2020-04-20 17:58:25 +00:00
|
|
|
|
|
|
|
# Expose /home as workin dir
|
|
|
|
WORKDIR /home
|
|
|
|
VOLUME ["/home"]
|