mirror of
https://github.com/linuxserver/docker-cops.git
synced 2026-02-19 18:51:05 +08:00
Merge pull request #56 from mikespub-org/kepubify
Add kepubify tool to update metadata for Kobo
This commit is contained in:
commit
b008e53c92
@ -38,6 +38,15 @@ RUN \
|
||||
composer \
|
||||
install --no-dev --optimize-autoloader && \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
echo "***install kepubify" && \
|
||||
if [ -z ${KEPUBIFY_RELEASE+x} ]; then \
|
||||
KEPUBIFY_RELEASE=$(curl -sX GET "https://api.github.com/repos/pgaskin/kepubify/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/usr/bin/kepubify -L \
|
||||
"https://github.com/pgaskin/kepubify/releases/download/${KEPUBIFY_RELEASE}/kepubify-linux-64bit" && \
|
||||
chmod 755 /usr/bin/kepubify && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/root/.composer \
|
||||
|
||||
@ -39,6 +39,15 @@ RUN \
|
||||
composer \
|
||||
install --no-dev --optimize-autoloader && \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
echo "***install kepubify" && \
|
||||
if [ -z ${KEPUBIFY_RELEASE+x} ]; then \
|
||||
KEPUBIFY_RELEASE=$(curl -sX GET "https://api.github.com/repos/pgaskin/kepubify/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/usr/bin/kepubify -L \
|
||||
"https://github.com/pgaskin/kepubify/releases/download/${KEPUBIFY_RELEASE}/kepubify-linux-arm64" && \
|
||||
chmod 755 /usr/bin/kepubify && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/root/.composer \
|
||||
|
||||
@ -66,6 +66,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "28.08.24:", desc: "Add kepubify tool to update metadata for Kobo - see mikespub-org/seblucas-cops#77" }
|
||||
- { date: "24.06.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings." }
|
||||
- { date: "07.05.24:", desc: "Existing users should verify: site-confs/default.conf - Fix rewriting rules default site conf." }
|
||||
- { date: "20.03.24:", desc: "Rebase to Alpine 3.19." }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user