From 5d23093269ca6ad91f182a99ed8b4878ee7e5bf2 Mon Sep 17 00:00:00 2001
From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org>
Date: Tue, 3 Dec 2024 03:51:06 +0100
Subject: [PATCH] Fix generation of pdf, converted from docx instead of
 markdown

---
 generateChangemarks/.gitlab-ci.yml    | 2 +-
 generateChangemarks/dockerfile.pandoc | 5 ++---
 publish_spec.sh                       | 2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/generateChangemarks/.gitlab-ci.yml b/generateChangemarks/.gitlab-ci.yml
index 5e48e0e..d28394d 100644
--- a/generateChangemarks/.gitlab-ci.yml
+++ b/generateChangemarks/.gitlab-ci.yml
@@ -124,7 +124,7 @@ Publish spec:
     - tags
   before_script:
     - |
-     curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/publish_spec%2Esh/raw?ref=master" >> publish_spec.sh
+     curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/publish_spec%2Esh/raw?ref=gridtables" >> publish_spec.sh
     - chmod +x publish_spec.sh
     - |
      curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/Spec-template%2Edocx/raw?ref=master" >> onem2m_spec_template.docx
diff --git a/generateChangemarks/dockerfile.pandoc b/generateChangemarks/dockerfile.pandoc
index 54dae98..fca9e30 100644
--- a/generateChangemarks/dockerfile.pandoc
+++ b/generateChangemarks/dockerfile.pandoc
@@ -1,9 +1,8 @@
-FROM pandoc/core:3.4.0-ubuntu
+FROM pandoc/latex:3.4.0-ubuntu
 
 RUN apt-get update -y && \
     apt-get install -y npm &&\
-    npm install --global mermaid-filter &&\
-    apt-get install -y texlive-latex-base texlive-latex-recommended texlive-fonts-recommended
+    npm install --global mermaid-filter
 
 CMD ["/bin/sh"]
 
diff --git a/publish_spec.sh b/publish_spec.sh
index 6d400a0..049d252 100755
--- a/publish_spec.sh
+++ b/publish_spec.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-DOCKER_IMAGE=pandoc:master
+DOCKER_IMAGE=pandoc:gridtables
 TOOLS_DOCKER_IMAGE=generatechangemarks:master
 
 echo "\n------ Checking for docker image --------"
-- 
GitLab