diff options
| -rw-r--r-- | Dockerfile | 11 | ||||
| -rw-r--r-- | Makefile | 2 |
2 files changed, 8 insertions, 5 deletions
@@ -1,4 +1,4 @@ -FROM golang:stretch AS rmapi +FROM golang:buster AS rmapi ENV GOPATH /go ENV PATH ${GOPATH}/bin:/usr/local/go/bin:$PATH @@ -7,18 +7,21 @@ ENV RMAPIREPO github.com/juruen/rmapi RUN go get -u ${RMAPIREPO} -FROM python:3.7-slim-stretch +FROM python:3.7-slim-buster # rmapi COPY --from=rmapi /go/bin/rmapi /usr/bin/rmapi -# imagemagick, pdftk, ghostscript, pdfcrop +# needed to install openjdk-11-jre-headless +RUN mkdir -p /usr/share/man/man1 + +# imagemagick, pdftk, ghostscript, pdfcrop, weasyprint RUN apt-get update \ && apt-get install --no-install-recommends -y \ libmagickwand-dev \ pdftk \ ghostscript \ - poppler-utils + poppler-utils RUN pip install --no-cache-dir paper2remarkable @@ -48,7 +48,7 @@ doc: install ## Build documentation with Sphinx cd $(DOC_DIR) && \ rm source/* && \ source $(VENV_DIR)/bin/activate && \ - sphinx-apidoc -H 'CleverCSV API Documentation' -o source ../$(PACKAGE) && \ + sphinx-apidoc -H 'Paper2Remarkable API Documentation' -o source ../$(PACKAGE) && \ touch source/AUTOGENERATED $(MAKE) -C $(DOC_DIR) html |
