Browse Source

Tweaking the docker build configs

environments/production/deployments/9
Drew Short 9 years ago
parent
commit
9833a74a63
  1. 2
      build-html.sh
  2. 2
      build-pdf.sh

2
build-html.sh

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Script to build an HTML site from the PDF source # Script to build an HTML site from the PDF source
docker run -d -P --name pdf2htmlex -v /pdf sothr/pdf2htmlex pdf2htmlex --embed cfijo --dest-dir out DPSResume.pdf
docker run -d -v $(pwd):/source sothr/pdf2htmlex pdf2htmlex --embed cfijo --dest-dir /source/out /source/DPSResume.pdf
tar -czvf ResumeSite.tar.gz out/* tar -czvf ResumeSite.tar.gz out/*

2
build-pdf.sh

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Script to build a PDF from the latex source # Script to build a PDF from the latex source
docker run -d -P --name latex -v /latex narf/latex latex --output-format pdf DPSResume.tex
docker run -v $(pwd):/source schickling/latex latex --output-format pdf /source/DPSResume.tex
Loading…
Cancel
Save