1
0
Fork 0
mash-ansible-role-nextcloud/templates/customizations/Dockerfile.j2

18 lines
867 B
Text
Raw Normal View History

2023-03-17 10:34:15 +01:00
FROM {{ nextcloud_container_image }}
{% set packages_to_install = [] %}
2023-03-17 10:34:15 +01:00
{% if nextcloud_container_image_customizations_php_imageick_installation_enabled %}
{% set packages_to_install = packages_to_install + [nextcloud_container_image_customizations_php_imageick_installation_package] %}
{% endif %}
{% if nextcloud_container_image_customizations_samba_enabled %}
{% set packages_to_install = packages_to_install + ['procps', 'smbclient'] %}
{% endif %}
{% if packages_to_install | length > 0 %}
RUN apt -y update && apt -y install {{ packages_to_install | join(' ') }} && rm -rf /var/lib/apt/lists/*
2023-03-17 10:34:15 +01:00
{% endif %}
{{ nextcloud_container_image_customizations_dockerfile_body_custom }}