From c1a4254f60b17d7e4b3df2e37781cd95bf4916e8 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Fri, 15 Sep 2023 00:16:27 +0200
Subject: [PATCH] switch to bespoke docker compiler

---
 .gitlab-ci.yml | 13 +++++++------
 README.md      |  4 ++--
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f8affbf9..7a376f48 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,10 +1,11 @@
-compile_pdf:
-  image: ctornau/latex
+---
+variables:
+  LATEX_IMAGE: andonome/texbind
+
+build:
+  image: $LATEX_IMAGE
   script:
-    - apt-get update -y
-    - apt-get install -y inkscape make git-lfs
-    - git submodule update --init
-    - git submodule foreach git lfs pull
+    - git lfs pull
     - make all
   only:
     - master
diff --git a/README.md b/README.md
index 815890b2..c16eaf3e 100644
--- a/README.md
+++ b/README.md
@@ -59,8 +59,8 @@ If you want to get involved, there are a number of ways to contribute:
 - Join the project, and start fixing issues.
 - Or if you don't like how I'm handling the book, fork it and make your own.
 
-[core download]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/core.pdf?job=compile_pdf
-[resources]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/resources.pdf?job=compile_pdf
+[core download]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/core.pdf?job=build
+[resources]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/resources.pdf?job=build
 [wiki]: https://gitlab.com/bindrpg/core/-/wikis/home
 [aif]: https://gitlab.com/bindrpg/aif
 [cs]: https://gitlab.com/bindrpg/core/-/blob/ods/calc_cs/bind_cs.ods
-- 
GitLab