feat: use our temp fork

This commit is contained in:
decentral1se 2021-12-08 13:36:04 +01:00
parent f4e69b9fb1
commit c40a492771
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 3 additions and 11 deletions

View File

@ -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/ /