mirror of
https://github.com/linuxserver/docker-libreoffice.git
synced 2026-03-09 00:09:02 +08:00
add PWA icon , update readme, add langs
This commit is contained in:
parent
c120d4b994
commit
622fc05b0f
@ -11,6 +11,10 @@ LABEL maintainer="thelamer"
|
||||
ENV TITLE=LibreOffice
|
||||
|
||||
RUN \
|
||||
echo "**** add icon ****" && \
|
||||
curl -o \
|
||||
/kclient/public/icon.png \
|
||||
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/libreoffice-logo.png && \
|
||||
echo "**** install packages ****" && \
|
||||
if [ -z ${LIBREOFFICE_VERSION+x} ]; then \
|
||||
LIBREOFFICE_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||
@ -22,11 +26,14 @@ RUN \
|
||||
st \
|
||||
thunar \
|
||||
tint2 && \
|
||||
echo "**** locales ****" && \
|
||||
for LOCALE in $(curl -sL https://raw.githubusercontent.com/thelamer/lang-stash/master/langs); do \
|
||||
apk add --no-cache libreoffice-lang-$(echo ${LOCALE}| tr '[:upper:]' '[:lower:]') || apk add --no-cache libreoffice-lang-$(echo ${LOCALE}| head -c2); \
|
||||
done && \
|
||||
echo "**** openbox tweaks ****" && \
|
||||
sed -i \
|
||||
's/NLMC/NLIMC/g' \
|
||||
/etc/xdg/openbox/rc.xml && \
|
||||
sed -i 's|</applications>| <application title="LibreOffice" type="normal">\n <maximized>yes</maximized>\n </application>\n</applications>|' /etc/xdg/openbox/rc.xml && \
|
||||
sed -i \
|
||||
'/Icon=/c Icon=xterm-color_48x48' \
|
||||
/usr/share/applications/st.desktop && \
|
||||
|
||||
@ -11,6 +11,10 @@ LABEL maintainer="thelamer"
|
||||
ENV TITLE=LibreOffice
|
||||
|
||||
RUN \
|
||||
echo "**** add icon ****" && \
|
||||
curl -o \
|
||||
/kclient/public/icon.png \
|
||||
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/libreoffice-logo.png && \
|
||||
echo "**** install packages ****" && \
|
||||
if [ -z ${LIBREOFFICE_VERSION+x} ]; then \
|
||||
LIBREOFFICE_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||
@ -22,11 +26,14 @@ RUN \
|
||||
st \
|
||||
thunar \
|
||||
tint2 && \
|
||||
echo "**** locales ****" && \
|
||||
for LOCALE in $(curl -sL https://raw.githubusercontent.com/thelamer/lang-stash/master/langs); do \
|
||||
apk add --no-cache libreoffice-lang-$(echo ${LOCALE}| tr '[:upper:]' '[:lower:]') || apk add --no-cache libreoffice-lang-$(echo ${LOCALE}| head -c2); \
|
||||
done && \
|
||||
echo "**** openbox tweaks ****" && \
|
||||
sed -i \
|
||||
's/NLMC/NLIMC/g' \
|
||||
/etc/xdg/openbox/rc.xml && \
|
||||
sed -i 's|</applications>| <application title="LibreOffice" type="normal">\n <maximized>yes</maximized>\n </application>\n</applications>|' /etc/xdg/openbox/rc.xml && \
|
||||
sed -i \
|
||||
'/Icon=/c Icon=xterm-color_48x48' \
|
||||
/usr/share/applications/st.desktop && \
|
||||
|
||||
@ -81,6 +81,9 @@ This container is based on [Docker Baseimage KasmVNC](https://github.com/linuxse
|
||||
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
|
||||
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
|
||||
| DRINODE | If mounting in /dev/dri for [DRI3 GPU Acceleration](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html) allows you to specify the device to use IE `/dev/dri/renderD128` |
|
||||
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
|
||||
| NO_DECOR | If set the application will run without window borders for use as a PWA. |
|
||||
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
|
||||
|
||||
#### Optional run configurations
|
||||
|
||||
@ -311,6 +314,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
|
||||
* **02.01.24:** - Rebase to Alpine 3.19.
|
||||
* **13.05.23:** - Rebase to Alpine 3.18.
|
||||
* **18.03.23:** - Rebase to KasmVNC base image.
|
||||
|
||||
@ -58,6 +58,9 @@ app_setup_block: |
|
||||
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
|
||||
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
|
||||
| DRINODE | If mounting in /dev/dri for [DRI3 GPU Acceleration](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html) allows you to specify the device to use IE `/dev/dri/renderD128` |
|
||||
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
|
||||
| NO_DECOR | If set the application will run without window borders for use as a PWA. |
|
||||
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
|
||||
|
||||
#### Optional run configurations
|
||||
|
||||
@ -74,6 +77,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "10.02.24:", desc: "Update Readme with new env vars and ingest proper PWA icon." }
|
||||
- { date: "02.01.24:", desc: "Rebase to Alpine 3.19." }
|
||||
- { date: "13.05.23:", desc: "Rebase to Alpine 3.18." }
|
||||
- { date: "18.03.23:", desc: "Rebase to KasmVNC base image." }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user