File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11ARG REPO
2- FROM ghcr.io/${REPO}:debian-bookworm AS rootfs
2+ FROM ghcr.io/${REPO}:debian-trixie AS rootfs
33ARG REPO
44
55# Install packages
88 apt-get update && \
99 apt-get install -y --no-install-recommends \
1010 desktop-file-utils \
11+ gsettings-desktop-schemas \
1112 libgbm1 \
1213 libgl1 \
1314 libnss3 && \
15+ ONLYOFFICE_VERSION=$(curl -sX GET "https://api.github.com/repos/ONLYOFFICE/DesktopEditors/releases/latest" \
16+ | awk '/tag_name/{print $4;exit}' FS='[""]' ) && \
1417 curl -o \
1518 /tmp/onlyoffice.deb -L \
16- "https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors_amd64.deb" && \
17- apt install -y --no-install-recommends \
19+ "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${ONLYOFFICE_VERSION}/onlyoffice-desktopeditors_amd64.deb" && \
20+ apt-get update && \
21+ apt-get install -y \
1822 /tmp/onlyoffice.deb && \
1923 echo "**** customize desktop file ****" && \
2024 sed -i \
2832 echo "**** set bin name ****" && \
2933 echo "onlyoffice-pa" > /bin-name && \
3034 echo "**** cleanup ****" && \
31- apt-get remove -y \
32- desktop-file-utils && \
3335 rm -rf \
3436 /root/.cache \
3537 /var/lib/apt/lists/* \
You can’t perform that action at this time.
0 commit comments