Skip to content

Commit

Permalink
feat: add multiarch support
Browse files Browse the repository at this point in the history
  • Loading branch information
akiyashkin-ronasit committed Jul 3, 2024
1 parent e58fe86 commit 4f3d201
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ RUN apk add --no-cache \
ttf-freefont \
ttf-liberation

COPY --from=wkhtmltopdf /bin/wkhtmltopdf /app/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64
ARG TARGETARCH
COPY --from=wkhtmltopdf /bin/wkhtmltopdf /app/vendor/h4cc/wkhtmltopdf-${TARGETARCH}/bin/wkhtmltopdf-${TARGETARCH}

RUN chmod +x /app/vendor/h4cc/wkhtmltopdf-${TARGETARCH}/bin/wkhtmltopdf-${TARGETARCH}

0 comments on commit 4f3d201

Please sign in to comment.