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 Original line Diff line number Diff line
@@ -124,7 +124,7 @@ Publish spec:
    - tags
    - tags
  before_script:
  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
    - 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
     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 Original line Diff line number Diff line
FROM pandoc/core:3.4.0-ubuntu
FROM pandoc/latex:3.4.0-ubuntu


RUN apt-get update -y && \
RUN apt-get update -y && \
    apt-get install -y npm &&\
    apt-get install -y npm &&\
    npm install --global mermaid-filter &&\
    npm install --global mermaid-filter
    apt-get install -y texlive-latex-base texlive-latex-recommended texlive-fonts-recommended


CMD ["/bin/sh"]
CMD ["/bin/sh"]


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


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


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