mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-02-17 13:52:14 +01:00
Simplify Dockerfile by removing ldconfig steps
Removed unnecessary directory creation and ldconfig commands.
This commit is contained in:
@@ -32,11 +32,8 @@ COPY --from=lscr.io/linuxserver/libreoffice:latest \
|
||||
/usr/lib/libreoffice/share/ /usr/lib/libreoffice/share/
|
||||
|
||||
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 || true
|
||||
ln -sf /usr/bin/soffice.bin /usr/lib/libreoffice/program/soffice
|
||||
|
||||
# Copy necessary files
|
||||
COPY scripts /scripts
|
||||
|
||||
Reference in New Issue
Block a user