Skip to content
Snippets Groups Projects
Unverified Commit ce9c9e91 authored by Robby3St's avatar Robby3St
Browse files

feat: initial commit

parent 8f46597a
Branches
No related tags found
No related merge requests found
Pipeline #282383 passed
stages:
- distribute
distribute:
only:
- main
stage: distribute
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"auth\":\"$(printf "%s:%s" "${CI_REGISTRY_USER}" "${CI_REGISTRY_PASSWORD}" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
- >-
/kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
FROM ubuntu:24.04
# Install pandoc and pdflatex
# Inspired by https://tex.stackexchange.com/questions/493664/minimal-installation-of-pdflatex-and-xelatex-on-alpine-docker
WORKDIR /var/local
RUN apt-get update && apt-get install -y perl wget libfontconfig1 pandoc && \
wget -qO- "https://yihui.name/gh/tinytex/tools/install-unx.sh" | sh && \
apt-get clean
ENV PATH="${PATH}:/root/bin"
RUN tlmgr install xetex
RUN fmtutil-sys --all
WORKDIR /
RUN mkdir app
WORKDIR /app
# Use the following command for installing LaTeX packages
# RUN tlmgr install [packages]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment