Skip to content

Docker image including gitbook and calibre, for CI/CI

Notifications You must be signed in to change notification settings

coenvl/gitbook-calibre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

gitbook-calibre

Docker image including gitbook and calibre, for CI/CI. Other images that I found were not able to include images in the PDF output, which is why I created this image.

Usage:

To compile a book in the current folder you execute: docker run --rm -v$(pwd):/gitbook gitbook pdf . book.pdf

A gitlab ci/cd config may look like:

image: coenvl/gitbook-calibre

pdf:
  script:
  - gitbook pdf ./ ./$CI_PROJECT_NAME.pdf
  artifacts:
    paths:
    - $CI_PROJECT_NAME.pdf

About

Docker image including gitbook and calibre, for CI/CI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published