mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-02-17 13:52:14 +01:00
Fix Dockerfile to ensure ldconfig runs without failure
This commit is contained in:
@@ -31,11 +31,12 @@ COPY --from=lscr.io/linuxserver/libreoffice:latest \
|
||||
COPY --from=lscr.io/linuxserver/libreoffice:latest \
|
||||
/usr/lib/libreoffice/share/ /usr/lib/libreoffice/share/
|
||||
|
||||
RUN mkdir -p /etc/ld.so.conf.d && \
|
||||
RUN mkdir -p /usr/lib/libreoffice/program && \
|
||||
mkdir -p /etc/ld.so.conf.d && \
|
||||
chmod 755 /usr/bin/soffice.bin && \
|
||||
ln -sf /usr/bin/soffice.bin /usr/lib/libreoffice/program/soffice && \
|
||||
echo "/usr/lib/libreoffice/program" > /etc/ld.so.conf.d/libreoffice.conf && \
|
||||
ldconfig
|
||||
ldconfig || true
|
||||
|
||||
# Copy necessary files
|
||||
COPY scripts /scripts
|
||||
|
||||
Reference in New Issue
Block a user