|
|
@ -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
|
|
|
|