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