From 6c601b375ceb5a451fb6017c5fbf647390621f24 Mon Sep 17 00:00:00 2001 From: chbmb Date: Sun, 12 Jul 2020 07:47:17 +0100 Subject: [PATCH] Add kepubify for arm64v8 --- Dockerfile.aarch64 | 8 ++++++++ readme-vars.yml | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index c97b921..4599f82 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -50,6 +50,14 @@ RUN \ requirements.txt && \ pip3 install --no-cache-dir -U -r \ optional-requirements.txt && \ + echo "***install kepubify" && \ + if [ -z ${KEPUBIFY_RELEASE+x} ]; then \ + KEPUBIFY_RELEASE=$(curl -sX GET "https://api.github.com/repos/geek1011/kepubify/releases/latest" \ + | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + fi && \ + curl -o \ + /usr/bin/kepubify -L \ + https://github.com/geek1011/kepubify/releases/download/${KEPUBIFY_RELEASE}/kepubify-linux-arm64 && \ echo "**** cleanup ****" && \ apt-get -y purge \ g++ \ diff --git a/readme-vars.yml b/readme-vars.yml index 73d098c..fbdc570 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -56,7 +56,7 @@ app_setup_block: | This optional layer will be rebuilt automatically on our CI pipeline upon new Calibre releases so you can stay up to date. To use this option add the optional environmental variable as detailed above to pull an addition docker layer to enable ebook conversion and then in the Calibre-Web admin page (Basic Configuration:External Binaries) set the **Path to Calibre E-Book Converter** to `/usr/bin/ebook-convert` - **x86-64 & arm32v7 only** This image contains the [kepubify](https://pgaskin.net/kepubify/) ebook conversion tool (MIT License) to convert epub to kepub. In the Calibre-Web admin page (Basic Configuration:External Binaries) set the **Path to Kepubify E-Book Converter** to `/usr/bin/kepubify` + This image contains the [kepubify](https://pgaskin.net/kepubify/) ebook conversion tool (MIT License) to convert epub to kepub. In the Calibre-Web admin page (Basic Configuration:External Binaries) set the **Path to Kepubify E-Book Converter** to `/usr/bin/kepubify` To reverse proxy with our Letsencrypt docker container we include a preconfigured reverse proxy config, for other instances of Nginx use the following location block: ``` @@ -71,6 +71,7 @@ app_setup_block: | # changelog changelogs: + - { date: "12.07.20:", desc: "Add kepubify for arm64v8" } - { date: "05.06.20:", desc: "Add kepubify for x86-64 and arm32v7" } - { date: "06.05.20:", desc: "Add libxslt1.1 and update ImageMagick policy" } - { date: "19.01.20:", desc: "Adding LDAP libs." }