From c40a492771bfb7cf8982c6534b8d0c24d40ba0e8 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Wed, 8 Dec 2021 13:36:04 +0100 Subject: [PATCH] feat: use our temp fork --- Dockerfile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5e7d3c1..d84bd22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,17 +30,9 @@ RUN \ unrar && \ echo "**** install calibre-web ****" && \ if [ -z ${CALIBREWEB_RELEASE+x} ]; then \ - CALIBREWEB_RELEASE=$(curl -sX GET "https://api.github.com/repos/janeczku/calibre-web/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + mkdir -p /app/ && \ + git clone https://git.coopcloud.tech/coop-cloud-chaos-patchs/calibre-web /app/calibre-web; \ fi && \ - curl -o \ - /tmp/calibre-web.tar.gz -L \ - https://github.com/janeczku/calibre-web/archive/${CALIBREWEB_RELEASE}.tar.gz && \ - mkdir -p \ - /app/calibre-web && \ - tar xf \ - /tmp/calibre-web.tar.gz -C \ - /app/calibre-web --strip-components=1 && \ cd /app/calibre-web && \ pip3 install --no-cache-dir -U \ pip && \ @@ -67,7 +59,7 @@ RUN \ /var/lib/apt/lists/* \ /var/tmp/* \ /root/.cache - + # add local files COPY root/ /