File tree 1 file changed +40
-2
lines changed
1 file changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,47 @@ ENV JELU_METADATA_CALIBRE_PATH="/usr/bin/fetch-ebook-metadata"
18
18
ENV LC_ALL=en_US.UTF-8
19
19
ENV QTWEBENGINE_DISABLE_SANDBOX="1"
20
20
21
- RUN apt-get update && apt-get install --no-install-recommends --yes calibre \
21
+ RUN apt-get update && apt-get install --no-install-recommends --yes wget xz-utils \
22
+ libxcb-xinerama0 \
23
+ libxcb-icccm4 \
24
+ libxcb-image0 \
25
+ libxcb-keysyms1 \
26
+ libxcb-render-util0 \
27
+ libxcb-randr0 \
28
+ libopengl0 \
29
+ libegl1 \
30
+ libglx0 \
31
+ libxkbcommon-x11-0 \
32
+ libxcb-cursor0 \
33
+ python3-xdg \
34
+ binutils \
35
+ poppler-utils \
36
+ libqpdf29t64 \
37
+ libnss3 \
38
+ ttf-wqy-zenhei \
39
+ fonts-wqy-microhei \
40
+ libxcomposite1 \
41
+ libxdamage1 \
42
+ libxrandr2 \
43
+ libxtst6 \
44
+ libxkbfile1 \
45
+ fcitx-rime && \
46
+ apt-get install -y speech-dispatcher \
47
+ && apt-get clean \
48
+ && rm -rf /var/lib/apt/lists/* && \
49
+ mkdir -p \
50
+ /opt/calibre && \
51
+ CALIBRE_VERSION="7.24.0" && \
52
+ CALIBRE_URL="https://download.calibre-ebook.com/${CALIBRE_VERSION}/calibre-${CALIBRE_VERSION}-x86_64.txz" && \
53
+ curl -o \
54
+ /tmp/calibre-tarball.txz -L \
55
+ "$CALIBRE_URL" && \
56
+ tar xvf /tmp/calibre-tarball.txz -C \
57
+ /opt/calibre && \
58
+ /opt/calibre/calibre_postinstall && \
59
+ strip --remove-section=.note.ABI-tag /opt/calibre/lib/libQt6Core.so.6 \
22
60
&& curl -L -o goodreads.zip https://github.com/kiwidude68/calibre_plugins/releases/download/goodreads-v1.8.2/goodreads-v1.8.2.zip \
23
- && calibre-customize --add-plugin goodreads.zip \
61
+ && /opt/calibre/ calibre-customize --add-plugin goodreads.zip \
24
62
&& rm goodreads.zip;
25
63
26
64
ENTRYPOINT ["java" , "org.springframework.boot.loader.launch.JarLauncher" , "--spring.config.additional-location=optional:file:/config/" ]
You can’t perform that action at this time.
0 commit comments