Kaynağa Gözat

Properly support LibreOffice

ehfd 3 yıl önce
ebeveyn
işleme
82d9e470b0
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 1 1
      Dockerfile
  2. 1 0
      entrypoint.sh

+ 1 - 1
Dockerfile

@@ -91,7 +91,7 @@ RUN dpkg --add-architecture i386 && \
         xkb-data \
         libxrandr-dev \
         xorg-dev && \
-    apt-get install -y ubuntu-mate-desktop && \
+    apt-get install -y ubuntu-mate-desktop libreoffice && \
     if [ "${UBUNTU_RELEASE}" = "18.04" ]; then apt-get install --no-install-recommends -y vulkan-utils; else apt-get install --no-install-recommends -y vulkan-tools; fi && \
     # Remove Bluetooth packages that throw errors
     apt-get autoremove --purge -y \

+ 1 - 0
entrypoint.sh

@@ -6,6 +6,7 @@ sudo chown user:user /home/user
 echo "user:$PASSWD" | sudo chpasswd
 sudo rm -rf /tmp/.X*
 sudo ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime && echo "$TZ" | sudo tee /etc/timezone > /dev/null
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/lib/libreoffice/program"
 
 sudo ln -snf /dev/ptmx /dev/tty7
 sudo /etc/init.d/dbus start