Try this calibre install again?
This commit is contained in:
parent
5536dce8f8
commit
e471f00e43
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
@ -56,4 +56,4 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.IMAGE_REPO }}/${{ env.IMAGE_NAME }}:${{ env.RELEASE_VERSION }}
|
tags: ${{ env.IMAGE_REPO }}/${{ env.IMAGE_NAME }}:${{ env.RELEASE_VERSION }}
|
||||||
build-args: VERSION=${{env.RELEASE_VERSION}},CALIBRE_RELEASE=${{env.CALIBRE_VERSION}},FFF_RELEASE=${{env.FFF_VERSION}}
|
build-args: VERSION=${{env.RELEASE_VERSION}}
|
||||||
|
30
Dockerfile
30
Dockerfile
@ -38,21 +38,21 @@ RUN set -x && \
|
|||||||
abc
|
abc
|
||||||
|
|
||||||
RUN echo "**** install calibre ****" && \
|
RUN echo "**** install calibre ****" && \
|
||||||
set -x && \
|
mkdir -p \
|
||||||
mkdir -p \
|
/opt/calibre && \
|
||||||
/opt/calibre && \
|
if [ -z ${CALIBRE_RELEASE+x} ]; then \
|
||||||
if [ -z ${CALIBRE_RELEASE+x} ]; then \
|
CALIBRE_RELEASE=$(curl -sX GET "https://api.github.com/repos/kovidgoyal/calibre/releases/latest" \
|
||||||
CALIBRE_RELEASE=$(curl -sX GET "https://api.github.com/repos/kovidgoyal/calibre/releases/latest" \
|
| jq -r .tag_name); \
|
||||||
| jq -r .tag_name); \
|
fi && \
|
||||||
fi && \
|
CALIBRE_VERSION="$(echo ${CALIBRE_RELEASE} | cut -c2-)" && \
|
||||||
CALIBRE_VERSION="$(echo ${CALIBRE_RELEASE} | cut -c2-)" && \
|
CALIBRE_URL="https://download.calibre-ebook.com/${CALIBRE_VERSION}/calibre-${CALIBRE_VERSION}-x86_64.txz" && \
|
||||||
CALIBRE_URL="https://download.calibre-ebook.com/${CALIBRE_VERSION}/calibre-${CALIBRE_VERSION}-x86_64.txz" && \
|
curl -o \
|
||||||
curl -o \
|
/tmp/calibre-tarball.txz -L \
|
||||||
/tmp/calibre-tarball.txz -L \
|
"$CALIBRE_URL" && \
|
||||||
"$CALIBRE_URL" && \
|
tar xvf /tmp/calibre-tarball.txz -C \
|
||||||
tar xvf /tmp/calibre-tarball.txz -C \
|
/opt/calibre && \
|
||||||
/opt/calibre && \
|
/opt/calibre/calibre_postinstall && \
|
||||||
dbus-uuidgen > /etc/machine-id
|
dbus-uuidgen > /etc/machine-id
|
||||||
|
|
||||||
RUN echo "**** cleanup ****" && \
|
RUN echo "**** cleanup ****" && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
|
@ -1 +1 @@
|
|||||||
2022.03.25-25
|
2022.03.25-26
|
||||||
|
Loading…
Reference in New Issue
Block a user