diff options
| author | Clayton Yochum <claytonjy@gmail.com> | 2020-04-02 01:15:32 -0400 |
|---|---|---|
| committer | Clayton Yochum <claytonjy@gmail.com> | 2020-04-02 01:15:32 -0400 |
| commit | f0489693569a8ac5ac201034190f71d21c74c1b3 (patch) | |
| tree | 4bd6e8780da82af2e5d82bf6776396282ad500e1 /Dockerfile | |
| parent | clean makefile (diff) | |
| download | paper2remarkable-f0489693569a8ac5ac201034190f71d21c74c1b3.tar.gz paper2remarkable-f0489693569a8ac5ac201034190f71d21c74c1b3.zip | |
Update Dockerfile to use Debian Buster base images.
This allows Cairo to be updated, removing a warning from Weasyprint.
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 11 |
1 files changed, 7 insertions, 4 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 |
