Commit 5d230932 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix generation of pdf, converted from docx instead of markdown

parent bb284002
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −3
Original line number Diff line number Diff line
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"]

+1 −1
Original line number Diff line number Diff line
#!/bin/bash

DOCKER_IMAGE=pandoc:master
DOCKER_IMAGE=pandoc:gridtables
TOOLS_DOCKER_IMAGE=generatechangemarks:master

echo "\n------ Checking for docker image --------"