mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-17 04:01:13 +00:00
Install Collabora CODE in Docker builds
This commit is contained in:
parent
bf02987d57
commit
ccd0f5891e
2 changed files with 30 additions and 1 deletions
|
|
@ -5,4 +5,9 @@ set -e
|
|||
# bash /ins/install_playwright.sh "$@"
|
||||
|
||||
# searxng - moved to base image
|
||||
# bash /ins/install_searxng.sh "$@"
|
||||
# bash /ins/install_searxng.sh "$@"
|
||||
|
||||
# Collabora CODE for future images. Existing containers still self-heal through the
|
||||
# Office plugin runtime bootstrap, so this is an optimization rather than a release
|
||||
# prerequisite.
|
||||
bash /ins/install_collabora_code.sh "$@"
|
||||
|
|
|
|||
24
docker/run/fs/ins/install_collabora_code.sh
Executable file
24
docker/run/fs/ins/install_collabora_code.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if ! command -v apt-get >/dev/null 2>&1; then
|
||||
echo "apt-get unavailable; skipping Collabora CODE install"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
install -d -m 0755 /etc/apt/keyrings
|
||||
if [ ! -f /etc/apt/keyrings/collaboraonline-release-keyring.gpg ]; then
|
||||
wget -O /etc/apt/keyrings/collaboraonline-release-keyring.gpg \
|
||||
https://collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg
|
||||
fi
|
||||
|
||||
cat >/etc/apt/sources.list.d/collaboraonline.sources <<'EOF'
|
||||
Types: deb
|
||||
URIs: https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-deb
|
||||
Suites: ./
|
||||
Signed-By: /etc/apt/keyrings/collaboraonline-release-keyring.gpg
|
||||
EOF
|
||||
|
||||
apt-get update
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends coolwsd coolwsd-deprecated code-brand
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue