2023-03-17 10:34:15 +01:00
|
|
|
FROM {{ nextcloud_container_image }}
|
|
|
|
|
2023-12-03 11:25:26 +01:00
|
|
|
{% set packages_to_install = [] %}
|
|
|
|
|
2023-03-17 10:34:15 +01:00
|
|
|
{% if nextcloud_container_image_customizations_php_imageick_installation_enabled %}
|
2023-12-03 11:25:26 +01:00
|
|
|
{% 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 }}
|