diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..67fbb50 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM kjarosh/latex:2025.1 +RUN tlmgr install libertinus diff --git a/Jenkinsfile b/Jenkinsfile index 832e54f..e9853c9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,15 +2,9 @@ pipeline { agent any stages { stage('Build') { - agent { - docker { - image 'kjarosh/latex:2025.1' - reuseNode true - } - } + agent { dockerfile true } steps { echo 'Starting build step...' - sh 'tlmgr install libertinus' sh 'latexmk -pdf -outdir=out main_text.tex' } }