YoBatM commited on
Commit
0535458
·
verified ·
1 Parent(s): 99bd0da

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -5
Dockerfile CHANGED
@@ -14,11 +14,19 @@ WORKDIR $HOME/app
14
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
15
  COPY --chown=user . $HOME/app
16
  RUN xargs apt-get install < ./paquetes.txt -y
17
- RUN wget https://raw.githubusercontent.com/blang/latex-docker/master/latexdockercmd.sh
18
- RUN chmod +x latexdockercmd.sh
19
- FROM blang/latex:ctanbasic
20
- MAINTAINER Benedikt Lang <[email protected]>
21
- RUN update-tlmgr-latest.sh --update
 
 
 
 
 
 
 
 
22
  RUN tlmgr install scheme-full
23
  # Switch to the "user" user
24
  USER user
 
14
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
15
  COPY --chown=user . $HOME/app
16
  RUN xargs apt-get install < ./paquetes.txt -y
17
+ RUN apt-get update -q \
18
+ && apt-get install -qy build-essential wget libfontconfig1 \
19
+ && rm -rf /var/lib/apt/lists/*
20
+
21
+ # Install TexLive with scheme-basic
22
+ RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz; \
23
+ mkdir /install-tl-unx; \
24
+ tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1; \
25
+ echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile; \
26
+ /install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile; \
27
+ rm -r /install-tl-unx; \
28
+ rm install-tl-unx.tar.gz
29
+
30
  RUN tlmgr install scheme-full
31
  # Switch to the "user" user
32
  USER user