summaryrefslogtreecommitdiff
path: root/inventory/host_vars
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-24 19:12:00 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-25 00:32:05 +0200
commit6d4f60950c57b663484147fbc30bc07782b8ce67 (patch)
tree76ad7cba61c78660f6298d704b86b7b3ce82d1c5 /inventory/host_vars
parentsk-2019vm migrated to new zfs schema (diff)
sk-tomnext-nc: custom image for collabora code and nextcloud
Diffstat (limited to 'inventory/host_vars')
-rw-r--r--inventory/host_vars/sk-tomnext-nc.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/inventory/host_vars/sk-tomnext-nc.yml b/inventory/host_vars/sk-tomnext-nc.yml
index a163c35d..296a9e28 100644
--- a/inventory/host_vars/sk-tomnext-nc.yml
+++ b/inventory/host_vars/sk-tomnext-nc.yml
@@ -94,6 +94,13 @@ nextcloud_instances:
type: mariadb
version: 10.5.3
password: "{{ vault_nextcloud_database_passwords['team.tomwaitz.eu'] }}"
+ custom_image:
+ dockerfile: |
+ RUN set -x \
+ && sed 's/main$/main contrib non-free/' -i /etc/apt/sources.list \
+ && apt-get update -q \
+ && apt-get install -y -q unrar \
+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
collabora_code_base_path: /srv/storage/collabora/code
@@ -108,3 +115,12 @@ collabora_code_instances:
password: "{{ vault_collabora_code_admin_passwords['o.tomwaitz.eu'] }}"
backend_storages:
- team.tomwaitz.eu
+ custom_image:
+ dockerfile: |
+ USER root
+ RUN set -x \
+ && echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections \
+ && apt-get update -q \
+ && apt-get install -y -q ttf-mscorefonts-installer \
+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+ USER 101