feat: use our temp fork
This commit is contained in:
parent
f4e69b9fb1
commit
c40a492771
14
Dockerfile
14
Dockerfile
|
@ -30,17 +30,9 @@ RUN \
|
||||||
unrar && \
|
unrar && \
|
||||||
echo "**** install calibre-web ****" && \
|
echo "**** install calibre-web ****" && \
|
||||||
if [ -z ${CALIBREWEB_RELEASE+x} ]; then \
|
if [ -z ${CALIBREWEB_RELEASE+x} ]; then \
|
||||||
CALIBREWEB_RELEASE=$(curl -sX GET "https://api.github.com/repos/janeczku/calibre-web/releases/latest" \
|
mkdir -p /app/ && \
|
||||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
git clone https://git.coopcloud.tech/coop-cloud-chaos-patchs/calibre-web /app/calibre-web; \
|
||||||
fi && \
|
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 && \
|
cd /app/calibre-web && \
|
||||||
pip3 install --no-cache-dir -U \
|
pip3 install --no-cache-dir -U \
|
||||||
pip && \
|
pip && \
|
||||||
|
@ -67,7 +59,7 @@ RUN \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/tmp/* \
|
/var/tmp/* \
|
||||||
/root/.cache
|
/root/.cache
|
||||||
|
|
||||||
# add local files
|
# add local files
|
||||||
COPY root/ /
|
COPY root/ /
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue