4
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-06-26 05:31:06 +00:00

matrix-bridge-rustpush: build from upstream's own Dockerfile on self-build

The role shipped its own copy of the bridge's Dockerfile and templated it
over the cloned source before building. That copy had already drifted from
upstream (e.g. missing libheif-plugin-libde265) and required separate
maintenance (Renovate bumping the base image here instead of upstream).

Build from the cloned repo's own Dockerfile instead, matching every other
self-build role (e.g. matrix-bridge-steam). The Dockerfile now tracks the
pinned bridge version automatically.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Slavi Pantaleev
2026-06-24 12:13:04 +03:00
parent 424c323d03
commit 08c733d2e3
3 changed files with 0 additions and 123 deletions
@@ -30,15 +30,6 @@
register: matrix_rustpush_bridge_git_pull_results
when: "matrix_rustpush_bridge_enabled | bool and matrix_rustpush_bridge_container_image_self_build"
- name: Ensure RustPush Dockerfile is installed
ansible.builtin.template:
src: "{{ role_path }}/templates/Dockerfile.j2"
dest: "{{ matrix_rustpush_bridge_container_src_files_path }}/Dockerfile"
mode: 0640
owner: "{{ matrix_user_name }}"
group: "{{ matrix_group_name }}"
when: "matrix_rustpush_bridge_enabled | bool and matrix_rustpush_bridge_container_image_self_build | bool"
- name: Ensure RustPush Docker image is built
community.docker.docker_image_build:
name: "{{ matrix_rustpush_bridge_container_image }}"