diff options
Diffstat (limited to 'roles/apps/collabora/code/tasks/custom-image.yml')
-rw-r--r-- | roles/apps/collabora/code/tasks/custom-image.yml | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/roles/apps/collabora/code/tasks/custom-image.yml b/roles/apps/collabora/code/tasks/custom-image.yml deleted file mode 100644 index 84f6b1ae..00000000 --- a/roles/apps/collabora/code/tasks/custom-image.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- -- name: create build directory for custom image - file: - path: "{{ collabora_code_base_path }}/{{ item.key }}/build" - state: directory - -- name: generate Dockerfile for custom image - copy: - content: | - FROM {{ item.value.custom_image.from | default('collabora/code:' + item.value.version) }} - {{ item.value.custom_image.dockerfile }} - dest: "{{ collabora_code_base_path }}/{{ item.key }}/build/Dockerfile" - register: collabora_code_custom_image_docker - -- name: build custom image - docker_image: - name: "collabora/code/{{ item.key }}:{{ item.value.version }}" - state: present - force_source: "{{ collabora_code_custom_image_docker is changed }}" - source: build - build: - path: "{{ collabora_code_base_path }}/{{ item.key }}/build" - network: host - pull: yes |