Fixed CA update step in deployment pipeline #3
Squashed commit of the following:
commit db342ff0b5
Author: Ashish D'Souza <sudouser512@gmail.com>
Date: Sun Oct 29 19:39:22 2023 -0500
Created docker_entrypoint.sh #3
This commit is contained in:
parent
15dd80e8e6
commit
415d4e0094
|
@ -1,9 +1,8 @@
|
|||
FROM python:3.11
|
||||
WORKDIR /code
|
||||
|
||||
ENTRYPOINT ["python3", "frigate_event_notifier.py"]
|
||||
|
||||
RUN pip3 install --upgrade pip
|
||||
COPY docker_entrypoint.sh /
|
||||
ENTRYPOINT ["/docker_entrypoint.sh"]
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
update-ca-certificates
|
||||
|
||||
python3 frigate_event_notifier.py "$@"
|
|
@ -52,9 +52,3 @@
|
|||
ansible.builtin.file:
|
||||
path: '{{docker_compose_dir.path}}'
|
||||
state: absent
|
||||
|
||||
- name: Update CA certificates
|
||||
community.docker.docker_container_exec:
|
||||
container: frigate-notify
|
||||
command: update-ca-certificates
|
||||
user: root
|
||||
|
|
Loading…
Reference in New Issue