-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
778fdaf
commit 1acbd61
Showing
2 changed files
with
12 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,45 +5,23 @@ LABEL maintainer="[email protected]" | |
# Tentamos seguir as melhores práticas: | ||
# https://docs.docker.com/develop/develop-images/dockerfile_best-practices/ | ||
|
||
RUN apt-get update && apt-get install -y -qq \ | ||
build-essential \ | ||
fontconfig \ | ||
locales \ | ||
pdfgrep \ | ||
poppler-utils \ | ||
unzip \ | ||
wget | ||
WORKDIR /tmp | ||
COPY bin/instaladores/dependencias_execucao_install.sh \ | ||
bin/instaladores/pandoc_install.sh \ | ||
bin/instaladores/tinytex_install.sh \ | ||
. | ||
|
||
# Instala tinytex (/root/.TinyTex) | ||
RUN wget -qO- "https://yihui.name/gh/tinytex/tools/install-unx.sh" | sh | ||
ENV PATH="/root/bin:${PATH}" | ||
RUN apt-get update && dependencias_execucao_install.sh | ||
|
||
# instala bibliotecas para o abntex2/limarka | ||
RUN tlmgr install \ | ||
abntex2 \ | ||
babel-portuges \ | ||
bookmark \ | ||
enumitem \ | ||
epstopdf-pkg \ | ||
ifetex \ | ||
lastpage \ | ||
lipsum \ | ||
listings \ | ||
ltcaption \ | ||
memoir \ | ||
microtype \ | ||
pdflscape \ | ||
pdfpages \ | ||
textcase \ | ||
xcolor | ||
# Instala tinytex (/root/.TinyTex) | ||
# e bibliotecas para o abntex2/limarka | ||
RUN bin/instaladores/tinytex_install.sh | ||
ENV PATH="/root/bin:~/.TinyTeX/bin/x86_64-linux:${PATH}" | ||
|
||
# Configurando o idioma português #175: https://hub.docker.com/_/debian/#locales | ||
RUN rm -rf /var/lib/apt/lists/* \ | ||
&& localedef -i pt_BR -c -f UTF-8 -A /usr/share/locale/locale.alias pt_BR.UTF-8 | ||
ENV LANG pt_BR.UTF8 | ||
|
||
# Instalação do pandoc | ||
WORKDIR /tmp | ||
RUN wget https://github.com/jgm/pandoc/releases/download/2.9.2.1/pandoc-2.9.2.1-1-amd64.deb \ | ||
&& dpkg -i pandoc-*.deb \ | ||
&& rm pandoc-*.deb | ||
RUN pandoc_install.sh |