Skip to content

Commit 260f7a0

Browse files
2 parents 8b60ef4 + d165ed7 commit 260f7a0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
*.conf text eol=lf
66
Dockerfile text eol=lf
77
*.yml text eol=lf
8-
**/run text eol=lf
8+
**/run text eol=lf

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ RUN \
164164
libxdamage1 \
165165
libgl1 \
166166
libglx-mesa0 \
167-
xz-utils && \
167+
xz-utils \
168+
binutils && \
168169
# STEP 3.2 - Make the /app/calibre directory for the installed files
169170
mkdir -p \
170171
/app/calibre && \
@@ -182,6 +183,8 @@ RUN \
182183
tar xf \
183184
/calibre.txz -C \
184185
/app/calibre && \
186+
# STEP 3.4.1 - Remove the ABI tag from the extracted libQt6* files to allow them to be used on older kernels
187+
strip --remove-section=.note.ABI-tag /app/calibre/lib/libQt6* && \
185188
# STEP 3.5 - Delete the extracted calibre.txz to save space in final image
186189
rm /calibre.txz && \
187190
# STEP 3.6 - Store the UNIVERSAL_CALIBRE_RELEASE in the root of the image in CALIBRE_RELEASE

0 commit comments

Comments
 (0)