diff --git a/dockerfiles/latex-builder/Dockerfile b/dockerfiles/latex-builder/Dockerfile index 562b523821d3a0432eca0c3fd33b091a7d71c337..710de185639ada28c8c5f8917db591ee98463422 100644 --- a/dockerfiles/latex-builder/Dockerfile +++ b/dockerfiles/latex-builder/Dockerfile @@ -1,5 +1,9 @@ ARG CI_AWE_IMAGE_BASE ARG CI_AWE_IMAGE_TAG + +# Note: building this image in GitLab CI will only work if the conda-builder image +# is not already built for the revelant tag CI_AWE_IMAGE_TAG (set in .gitlab-ci.yml) +# or if the conda-builder image is built along with this image. FROM ${CI_AWE_IMAGE_BASE}/conda-builder:${CI_AWE_IMAGE_TAG} LABEL version="1.2" @@ -11,7 +15,7 @@ ARG CONDA_PREFIX=/opt/conda # thereby increasing continuous integration speed. COPY example.tex /root/example.tex -RUN ${CONDA_PREFIX}/bin/conda install -c conda-forge "tectonic==0.1.15" texlive-core "malramsay::biber==2.11" \ +RUN ${CONDA_PREFIX}/bin/mamba install "tectonic==0.1.15" texlive-core "malramsay::biber==2.11" \ && ${CONDA_PREFIX}/bin/tectonic /root/example.tex \ && curl -o /usr/local/bin/git-latexdiff https://gitlab.com/git-latexdiff/git-latexdiff/-/raw/1.6.0/git-latexdiff \ && chmod +x /usr/local/bin/git-latexdiff