fix(docker): return tini to kill zombie processes

This commit is contained in:
fiftin 2024-05-29 23:24:03 +02:00
parent c791b85dda
commit 71394a8166
No known key found for this signature in database
GPG Key ID: 044381366A5D4731
2 changed files with 4 additions and 0 deletions

View File

@ -59,4 +59,6 @@ RUN python3 -m venv /opt/semaphore/venv --system-site-packages && \
source /opt/semaphore/venv/bin/activate && \
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests
# Preventing ansible zombie processes. Tini kills zombies.
ENTRYPOINT ["/sbin/tini", "--"]
CMD [ "/usr/local/bin/runner-wrapper"]

View File

@ -59,4 +59,6 @@ RUN python3 -m venv /opt/semaphore/venv --system-site-packages && \
source /opt/semaphore/venv/bin/activate && \
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests
# Preventing ansible zombie processes. Tini kills zombies.
ENTRYPOINT ["/sbin/tini", "--"]
CMD [ "/usr/local/bin/server-wrapper"]