mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-10 21:24:15 +00:00
Unable to get image to use my git repository
So added custom commands to replace repo files
This commit is contained in:
parent
908949ed89
commit
b2a6fa5177
@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/linuxserver/calibre-web
|
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
@ -41,7 +41,7 @@ RUN \
|
|||||||
unzip \
|
unzip \
|
||||||
/tmp/calibre-web.zip -d \
|
/tmp/calibre-web.zip -d \
|
||||||
/app && \
|
/app && \
|
||||||
mv /app/calibre-web-features/* /app/calibre-web && \
|
cp -r /app/calibre-web-features /app/calibre-web && rm -r /app/calibre-web-features && \
|
||||||
cd /app/calibre-web && \
|
cd /app/calibre-web && \
|
||||||
pip3 install --no-cache-dir -U \
|
pip3 install --no-cache-dir -U \
|
||||||
pip wheel && \
|
pip wheel && \
|
||||||
|
9
install_features_branch.sh
Normal file
9
install_features_branch.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Make sure git is installed
|
||||||
|
apt-get update -y
|
||||||
|
apt-get install git -y
|
||||||
|
|
||||||
|
mkdir /app/temp
|
||||||
|
cd /app/temp
|
||||||
|
git clone -b features https://github.com/JonathanHerrewijnen/calibre-web.git
|
||||||
|
cp calibre-web/cps/* ../calibre-web/cps/ -r -f
|
||||||
|
rm -r /app/temp
|
Loading…
Reference in New Issue
Block a user