Update Dockerfiles with bibliography dependencies

This commit is contained in:
Andreas Tsouchlos 2024-01-08 00:49:47 +01:00
parent 597367518d
commit 77fdbee41c
3 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,7 @@ FROM alpine:3.19
RUN apk update && apk upgrade RUN apk update && apk upgrade
RUN apk add make texlive texmf-dist-pictures RUN apk add make texlive texmf-dist-pictures
RUN apk add texmf-dist-publishers texmf-dist-science texmf-dist-fontsextra texmf-dist-latexextra RUN apk add texmf-dist-publishers texmf-dist-science texmf-dist-fontsextra texmf-dist-latexextra
RUN apk add biber texmf-dist-bibtexextra
# The 'bbm' package insists on generating stuff in the home directory. In # The 'bbm' package insists on generating stuff in the home directory. In
# order to guarantee access to the home directory no matter the user the # order to guarantee access to the home directory no matter the user the

View File

@ -7,6 +7,7 @@ RUN pacman -Sy archlinux-keyring --noconfirm && pacman -Su --noconfirm
RUN pacman -Syu --noconfirm RUN pacman -Syu --noconfirm
RUN pacman -S make perl texlive texlive-binextra texlive-pictures --noconfirm RUN pacman -S make perl texlive texlive-binextra texlive-pictures --noconfirm
RUN pacman -S texlive-publishers texlive-mathscience texlive-fontsextra texlive-latexextra --noconfirm RUN pacman -S texlive-publishers texlive-mathscience texlive-fontsextra texlive-latexextra --noconfirm
RUN pacman -Syu biber texlive-bibtexextra --noconfirm
# The 'bbm' package insists on generating stuff in the home directory. In # The 'bbm' package insists on generating stuff in the home directory. In
# order to guarantee access to the home directory no matter the user the # order to guarantee access to the home directory no matter the user the
@ -15,3 +16,6 @@ RUN mkdir /tmp/home
RUN chmod -R 777 /tmp/home RUN chmod -R 777 /tmp/home
ENV HOME=/tmp/home ENV HOME=/tmp/home
# For some reason simply installing 'biber' does not set the path
ENV PATH="${PATH}:/usr/bin/vendor_perl"

View File

@ -4,7 +4,8 @@ ARG DEBIAN_FRONTEND=noninteractive
RUN apt update -y && apt upgrade -y RUN apt update -y && apt upgrade -y
RUN apt install make texlive latexmk texlive-pictures -y RUN apt install make texlive latexmk texlive-pictures -y
RUN apt install make texlive-publishers texlive-science texlive-fonts-extra texlive-latex-extra -y RUN apt install texlive-publishers texlive-science texlive-fonts-extra texlive-latex-extra -y
RUN apt install biber texlive-bibtex-extra -y
# The 'bbm' package insists on generating stuff in the home directory. In # The 'bbm' package insists on generating stuff in the home directory. In
# order to guarantee access to the home directory no matter the user the # order to guarantee access to the home directory no matter the user the