Skip to content

Commit

Permalink
Release: 2.0.1, rebuild + bump library
Browse files Browse the repository at this point in the history
  • Loading branch information
vrenaville committed Jan 5, 2024
1 parent 2123e83 commit ed961c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# first stage: build kwkhtmltopdf_server

FROM golang:1.18.3
FROM golang:1.21.5
RUN mkdir /tmp/kwkhtml
WORKDIR /tmp/kwkhtml
COPY server/kwkhtmltopdf_server.go .
RUN go mod init kwkhtml
RUN go get -u github.com/rs/zerolog/log@v1.27.0
RUN go get -u github.com/rs/zerolog/log@v1.31.0
RUN go get -u github.com/pkg/[email protected]

RUN go build kwkhtmltopdf_server.go
Expand All @@ -18,7 +18,7 @@ RUN set -x \
&& apt update \
&& apt -y install --no-install-recommends wget ca-certificates fonts-liberation2 fonts-nanum-coding fonts-horai-umefont fonts-wqy-microhei \
&& wget -q -O /tmp/wkhtmltox.deb https://github.com/odoo/wkhtmltopdf/releases/download/nightly/wkhtmltox_0.13.0-1.nightly.bookworm_amd64.deb \
&& echo "a8f28ec5a71d18a4791e48ece56ad7395fd0f935 /tmp/wkhtmltox.deb" | sha1sum -c - \
&& echo "8b3e6ec574f31e4f19644f2c9e00bb929a1cb207 /tmp/wkhtmltox.deb" | sha1sum -c - \
&& apt -y install /tmp/wkhtmltox.deb \
&& apt -y purge wget --autoremove \
&& apt -y clean \
Expand Down
6 changes: 6 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

# 2.0.1 (2024-01-05)

Use new build from odoo for wkhtmltopdf bin, use new bookworm debian
Bump zerolog extra go package

# 0.9.3 (2020-04-15)

Remove gsfonts and xfonts-100dpi. Use fonts-liberation2 instead
Expand Down

0 comments on commit ed961c1

Please sign in to comment.