Fix linkedin bridge building regression

Regression since 1693c4ca1d

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1975
This commit is contained in:
Slavi Pantaleev 2022-07-23 09:07:20 +03:00
parent c5278621ca
commit 53ea0ccca5

View File

@ -50,12 +50,12 @@
- name: Ensure docker-requirements.txt is generated before building Beeper LinkedIn Docker Image - name: Ensure docker-requirements.txt is generated before building Beeper LinkedIn Docker Image
ansible.builtin.command: ansible.builtin.command:
cmd: | cmd: |
{{ matrix_host_command_docker }} run \ {{ matrix_host_command_docker }} run
--rm \ --rm
--entrypoint=/bin/sh \ --entrypoint=/bin/sh
--mount type=bind,src={{ matrix_beeper_linkedin_docker_src_files_path }},dst=/work \ --mount type=bind,src={{ matrix_beeper_linkedin_docker_src_files_path }},dst=/work
-w /work \ -w /work
docker.io/python:3.9.6-buster \ docker.io/python:3.9.6-buster
-c "pip install poetry && poetry export --without-hashes -E e2be -E images -E metrics | sed 's/==.*//g' > docker-requirements.txt" -c "pip install poetry && poetry export --without-hashes -E e2be -E images -E metrics | sed 's/==.*//g' > docker-requirements.txt"
register: matrix_beeper_linkedin_generate_docker_requirements_result register: matrix_beeper_linkedin_generate_docker_requirements_result
changed_when: matrix_beeper_linkedin_generate_docker_requirements_result.rc == 0 changed_when: matrix_beeper_linkedin_generate_docker_requirements_result.rc == 0