Switch to installing calibre-web from my repo
This commit is contained in:
parent
c803e5f7a7
commit
d540f973ab
31
Dockerfile
31
Dockerfile
@ -28,26 +28,29 @@ RUN \
|
|||||||
python3-minimal \
|
python3-minimal \
|
||||||
python3-pkg-resources \
|
python3-pkg-resources \
|
||||||
unrar && \
|
unrar && \
|
||||||
echo "**** install calibre-web ****" && \
|
echo "**** install calibre-web (a worse way than LSIO's method) ****" && \
|
||||||
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" \
|
# CALIBREWEB_RELEASE=$(curl -sX GET "https://api.github.com/repos/janeczku/calibre-web/releases/latest" \
|
||||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
# | awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||||
fi && \
|
# fi && \
|
||||||
curl -o \
|
# curl -o \
|
||||||
/tmp/calibre-web.tar.gz -L \
|
# /tmp/calibre-web.tar.gz -L \
|
||||||
https://github.com/janeczku/calibre-web/archive/${CALIBREWEB_RELEASE}.tar.gz && \
|
# https://github.com/janeczku/calibre-web/archive/${CALIBREWEB_RELEASE}.tar.gz && \
|
||||||
mkdir -p \
|
# mkdir -p \
|
||||||
/app/calibre-web && \
|
# /app/calibre-web && \
|
||||||
tar xf \
|
# tar xf \
|
||||||
/tmp/calibre-web.tar.gz -C \
|
# /tmp/calibre-web.tar.gz -C \
|
||||||
/app/calibre-web --strip-components=1 && \
|
# /app/calibre-web --strip-components=1 && \
|
||||||
|
# this is my lazy alternative to lsio's pretty one:
|
||||||
|
git clone https://gitlab.jafner.net/Jafner/calibre-web.git /app/calibre-web && \
|
||||||
|
#
|
||||||
cd /app/calibre-web && \
|
cd /app/calibre-web && \
|
||||||
pip3 install --no-cache-dir -U \
|
pip3 install --no-cache-dir -U \
|
||||||
pip && \
|
pip && \
|
||||||
pip install --no-cache-dir -U --ignore-installed --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \
|
pip install --no-cache-dir -U --ignore-installed --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \
|
||||||
requirements.txt -r \
|
requirements.txt -r \
|
||||||
optional-requirements.txt && \
|
optional-requirements.txt && \
|
||||||
echo "***install kepubify" && \
|
echo "**** install kepubify ****" && \
|
||||||
if [ -z ${KEPUBIFY_RELEASE+x} ]; then \
|
if [ -z ${KEPUBIFY_RELEASE+x} ]; then \
|
||||||
KEPUBIFY_RELEASE=$(curl -sX GET "https://api.github.com/repos/pgaskin/kepubify/releases/latest" \
|
KEPUBIFY_RELEASE=$(curl -sX GET "https://api.github.com/repos/pgaskin/kepubify/releases/latest" \
|
||||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||||
|
@ -35,19 +35,22 @@ RUN \
|
|||||||
python3-minimal \
|
python3-minimal \
|
||||||
python3-pkg-resources \
|
python3-pkg-resources \
|
||||||
unrar && \
|
unrar && \
|
||||||
echo "**** install calibre-web ****" && \
|
echo "**** install calibre-web (a worse way than LSIO's method) ****" && \
|
||||||
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" \
|
# CALIBREWEB_RELEASE=$(curl -sX GET "https://api.github.com/repos/janeczku/calibre-web/releases/latest" \
|
||||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
# | awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||||
fi && \
|
# fi && \
|
||||||
curl -o \
|
# curl -o \
|
||||||
/tmp/calibre-web.tar.gz -L \
|
# /tmp/calibre-web.tar.gz -L \
|
||||||
https://github.com/janeczku/calibre-web/archive/${CALIBREWEB_RELEASE}.tar.gz && \
|
# https://github.com/janeczku/calibre-web/archive/${CALIBREWEB_RELEASE}.tar.gz && \
|
||||||
mkdir -p \
|
# mkdir -p \
|
||||||
/app/calibre-web && \
|
# /app/calibre-web && \
|
||||||
tar xf \
|
# tar xf \
|
||||||
/tmp/calibre-web.tar.gz -C \
|
# /tmp/calibre-web.tar.gz -C \
|
||||||
/app/calibre-web --strip-components=1 && \
|
# /app/calibre-web --strip-components=1 && \
|
||||||
|
# this is my lazy alternative to lsio's pretty one:
|
||||||
|
git clone https://gitlab.jafner.net/Jafner/calibre-web.git /app/calibre-web && \
|
||||||
|
#
|
||||||
cd /app/calibre-web && \
|
cd /app/calibre-web && \
|
||||||
pip3 install --no-cache-dir -U \
|
pip3 install --no-cache-dir -U \
|
||||||
pip && \
|
pip && \
|
||||||
|
@ -37,19 +37,22 @@ RUN \
|
|||||||
python3-minimal \
|
python3-minimal \
|
||||||
python3-pkg-resources \
|
python3-pkg-resources \
|
||||||
unrar && \
|
unrar && \
|
||||||
echo "**** install calibre-web ****" && \
|
echo "**** install calibre-web (a worse way than LSIO's method) ****" && \
|
||||||
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" \
|
# CALIBREWEB_RELEASE=$(curl -sX GET "https://api.github.com/repos/janeczku/calibre-web/releases/latest" \
|
||||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
# | awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||||
fi && \
|
# fi && \
|
||||||
curl -o \
|
# curl -o \
|
||||||
/tmp/calibre-web.tar.gz -L \
|
# /tmp/calibre-web.tar.gz -L \
|
||||||
https://github.com/janeczku/calibre-web/archive/${CALIBREWEB_RELEASE}.tar.gz && \
|
# https://github.com/janeczku/calibre-web/archive/${CALIBREWEB_RELEASE}.tar.gz && \
|
||||||
mkdir -p \
|
# mkdir -p \
|
||||||
/app/calibre-web && \
|
# /app/calibre-web && \
|
||||||
tar xf \
|
# tar xf \
|
||||||
/tmp/calibre-web.tar.gz -C \
|
# /tmp/calibre-web.tar.gz -C \
|
||||||
/app/calibre-web --strip-components=1 && \
|
# /app/calibre-web --strip-components=1 && \
|
||||||
|
# this is my lazy alternative to lsio's pretty one:
|
||||||
|
git clone https://gitlab.jafner.net/Jafner/calibre-web.git /app/calibre-web && \
|
||||||
|
#
|
||||||
cd /app/calibre-web && \
|
cd /app/calibre-web && \
|
||||||
pip3 install --no-cache-dir -U \
|
pip3 install --no-cache-dir -U \
|
||||||
pip && \
|
pip && \
|
||||||
|
Loading…
Reference in New Issue
Block a user