From 6d4f60950c57b663484147fbc30bc07782b8ce67 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 24 May 2020 19:12:00 +0200 Subject: sk-tomnext-nc: custom image for collabora code and nextcloud --- inventory/host_vars/sk-tomnext-nc.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'inventory/host_vars') 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 -- cgit v1.2.3